UPGRADE? 10 MAIL-ORDER HARD DRIVES TESTED!
EDITORS’ TOP PICKS
$5-$7,000
RUN YOUR OFFICE PC Ee
FROM THE ROAD:
© ESSENTIAL SOFTWARE,
HARDWARE, AND SiIRAIEGIES
HANDS-ON HELP
e BREAK THE 640K BARRIER
e SAVE MONEY ONLINE
e DOS 5.0’S DAZZLING DIR
HOT PRODUGICL == 7.
<2 HARUBRD Deny
o CASTES a
* VISUBL Basic
l
CompuServe puts the whole world
at your finger'tips.
When you connect your computer to
CompuServe, you join the world’s largest
international network of people with per-
sonal computers. You have access to
more than a thousand services that offer
a source of support, information, enter-
tainment, communications, and benefits
of all kinds.
A world of advantages.
CompuServe lets you take advantage of
your personal computer in a thousand
different ways.
For instance: communication. You'll
get invaluable personal computer soft-
ware and hardware support from other
CompuServe members, as well as
product manufacturers, all over the
world. Meet in special interest forums
to discuss everything from science
fiction to sharing software. And keep in
touch through electronic mail and faxes,
as well as by “talking” over 72 CB
Simulator channels.
CompuServe also lets you shop coast-
to-coast at hundreds of nationally known
stores and take advantage of a world-
class reference database. It gives you
access to the latest national and interna-
tional news. And our special financial
files offer complete statistics on over
10,000 NYSE, AMEX, and OTC securi-
ties. You can even trade online with
local discount brokers.
Global travel
and world-class fun.
CompuServe also offers airline sched-
ules, so you can check out the bargains
and book your own flights on almost
any airline worldwide. You can get
travel news, frequent flier information,
and country and travel facts. As well as
listings from over 30,000 hotels.
Plus, there are games. Sports, trivia,
educational, space fantasy... you can go
it alone or compete against players from
all over the world. Only on CompuServe
can you test your wits in the only online
TV-style game show with real prizes, -
or leave the earth entirely in one of our
interactive space adventures.
Just give us a call.
To become a CompuServe member, you
need a computer and a modem. We'll
send you everything else, including a
$25.00 usage credit with your Member-
ship Kit. In most places, you'll be able
to go online with a local phone call.
To buy a CompuServe Membership
Kit, see your nearest computer dealer.
To receive our informative brochure
or to order direct, call us today.
And put the whole world at your
fingertips.
CompuServe:
800 848-8199
Circle Reader Service Number 103
64/128 VIEW
A new column that looks
at Commodore activities around the world
makes its debut in this issue.
Tom Netsel
nyone who owns a 64
or 128 knows that he or
she is not a member of
an exclusive club.
There are millions of the 8-
bitters around the globe,
and if all their owners got to-
gether, they'd make one
huge user group.
In fact, Commodore own-
ers have a lot in common,
no matter where they live.
Teachers in Canada, Texas,
and Israel use their ma-
chines to help educate
youngsters. Game players
in Alaska and India entertain
themselves for hours with
shoot-'em-ups and role-play-
ing games. Programmers in
Pakistan and New Zealand
crank out code in BASIC
and machine language.
And everyone bemoans the
fact that new releases for
the 64 are as scarce as
Sahara snowballs.
In an effort to bring 64
and 128 users even closer
together, to share ideas and
information, | am-planning a
new column for Gazette
called ‘World View.” It will
be written by 64/128 users
in different countries who'll
discuss Commodore topics
of interest in his or her coun-
try. Topics may include soft-
ware, hardware, computer
shows, user group activities,
BBSs, or anything else that
may interest 64 users.
We kick off “World View’
in this issue with a look at
Commodore activities in Eng-
land as described by Steve
Jarrat. Steve is the editor of
Commodore Format, the
United Kingdom's most pop-
ular Commodore 64-specif-
ic magazine. Steve touches
on a variety of topics, includ-
ing the ill-fated 64 Game Sys-
tem, the popularity of tape
as a storage medium, and
something called game
cheats. | hope you'll enjoy
his comments about 64 and
128 happenings in the UK.
I'd like to hear from Com-
modore owners in other coun-
tries around the world. So if
you'd care to submit a 1000-
word article on disk, we'll
pay for the ones we publish.
The holiday demand has
caused increased produc-
tion of 64s and 1541s, and
Commodore reports that
sales have been particularly
lively in central Europe. Com-
panies that have needed a
computer but couldn't afford
one or didn't have access to
one until just a short time
ago are now buying 64s.
Now that the Eastern na-
tions are swapping the Iron
Curtain for Blue Light Spe-
cials, low-priced computers
such as the 64 and 128
could become hot items. |
hope 64 owners in those
countries will tell us how
things are changing. Are
spreadsheets becoming best-
sellers, or is Tetris still the fa-
vorite software buy?
Those of you who own
128s should find the pro-
grams in this month's issue
to be of special interest.
Bruce Bowden has written a
handy screen dump and a
program that helps machine
language programmers con-
figure their 128’s memory
banking. On Gazette Disk,
Trig 128 from James Moore
is a bonus program that will
help trigonometry students
with their math homework.
Another disk bonus is
Don Radler’s collection of
traditional Christmas songs
and carols. Don used a mu-
sic program that we pub-
lished some years ago to
transcribe a number of
tunes for your enjoyment. O
GAZETTE
64/128 VIEW Gal
Check out our new column from the United Kingdom
and several 128 programs. By Tom Netsel.
FEEDBACK
Questions, answers, and comments.
TOWARD COMPUTER LITERACY
Tips on how to steer your child away from
Nintendo and toward computer literacy.
By Dorothy Hemme.
REVIEWS
DuckTales, Text Print,
Dream Team: 3 on 3 Challenge.
WORLD VIEW
G-12
G-18
A look at 64 activities in England. By Steve Jarrat.
MACHINE LANGUAGE
Where to place program code, variables,
and constants in your ML programs.
By Jim Butterfield.
GEOS
G-20
Tell your relatives to skip the reindeer ties;
ask for what you really want. By Steve Vander Ark.
DIVERSIONS G-22
Taste the food on the menu. By Fred D'Ignazio.
BEGINNER BASIC G-23
Deck your holiday tree with RND. By Larry Cotton.
PROGRAMMER’S PAGE G-24
Try programming in a new language.
By Randy Thompson.
PROGRAMS
128 Configuration Aid
Desdemona
Screen Dump 128
Checker Command
Country Cab
Janus
G-19
DECEMBER 1991 COMPUTE
G-2
Questions and
answers
about user group
listings,
128 software,
and more
FEEDBACK
It’s in the Mail
Do you people read your mail
up there? For eight years
we've been sending you a
copy of our monthly newslet-
ter, Syntax, and you didn’t
mention us in your listing of us-
er groups. Would you care to
offer a good explanation for
such an oversight?
WILLIAM O. NELSON
EL-SHIFT-OH USER GROUP
P.O. BOX 36148
MELBOURNE, FL 32936-1348
Last spring our user group co-
ordinator sent letters to every
user group in our files. We
mailed hundreds of letters to
groups in 50 states and doz-
ens of countries, asking offi-
cers to verify addresses and
BBS telephone numbers. We
carefully explained that if the
letter were not returned, we
would assume that group was
no longer in operation. For
the convenience of U.S.
groups, we even provided a
stamped envelope for the let-
ter’s return. As letters came
in, we checked them off our
list, deleting the ones that did
not respond. Your letter was
not returned, so we assumed
your group had disbanded.
Now, for any other group
that was also omitted, here's
a chance to make the updat-
ed list that we will publish
soon. Send your club name,
address, and any BBS tele-
phone number to Commo-
dore 64/128 User Group Up-
date, COMPUTE'’s Gazette,
324 West Wendover Avenue,
Suite 200, Greensboro, North
Carolina 27408. Don’t rely on
your newsletter; send a note.
User Group Association
The North American Commo-
dore User Group Association,
which was mentioned in the
September issue, is an organ-
ization of Commodore 64/128
user groups across the U.S.,
Canada, and the world. We
currently have 73 member
groups, representing more
COMPUTE DECEMBER 1991
than 5200 individual mem-
bers. Our goal is to help user
groups help users.
NACUGA was formed at
the World Of Commodore in
Toronto in December 1990.
We have grown so fast that
we now have two separate of-
fices, one serving Canada
and the other serving U.S.
groups. The Canadian ad-
dress is Dave Quinn,
NACUGA, Box 2984, Station
A, Moncton, New Brunswick
E1C 818, Canada.
JOSH JACOBY
NACUGA
98-151 PALI MOMI ST. #110-189
AIEA, HI 96701-4332
Unscrambled Words
| once owned a TI-99 comput-
er and had a program that un-
scrambled words. Unfortunate-
ly, | can't remember the name
of the program, but my de-
scription speaks for itself.
| now own a 128D and was
wondering if there is a pro-
gram of this type for it.
GEORGE H. QUENNEVILLE
VICTORVILLE, CA
| trust you mean a program
that will unscramble an ana-
gram, which is a word that is
formed by transposing the let-
ters of another word. Enter
the following program and
see if it does what you want.
When you run the program,
it'll ask for a word to unscram-
ble. The program works best
with words that are fewer
than nine letters in length.
The program counts the let-
ters, sets up an array, and
prints all the possible combi-
nations of those.letters.
The program is not too so-
phisticated; it merely prints
combinations of every letter
that you enter, even if that let-
ter has already been used.
As a result, a four-letter word
will have 24 combinations print-
ed on the screen. A five-letter
word will have 120, and a six-
letter word will have more
than 700 onscreen words. To
make it a little easier for you
to find the word you want, the
program prints only 80 words
at a time until it has exhaust-
ed all possibilities.
Oh, yes, if you do check a
nine-letter word, you may
want to have a sandwich near-
by. If the program takes sev-
en seconds to fill a screen
with 80 combinations, you'll
be at the keyboard for more
than eight hours, watching
362,880 combinations print
out. Allow for a few extra min-
utes if you actually read the
words that are printed.
DF 106 PRINT" {CLR} {WHT}"
CR 2@ CLR: INPUT"WORD TO
{ SPACE }UNSCRAMBLE"
;SS:N=LEN (SS) :DIMC
(N-1)
I=N-1:F=F+1:PRINTS
$,:IFF=8@8THENGOSUB
166
SS=LEFTS$(S$,I-1)+R
IGHTS(S$,N-I)+MIDS
(S$,I,1)
GX 5@ C(I)=C(I)+1l:IFC(I)
<=N-I GOTO3G
AD 66 C(I) =@:IFI>1THENI=
GS 36
DG 46
I-1:GOT04@
KF 16@ PRINT: PRINT"HIT
{SPACE}ANY KEY WH
EN READY"
MP 116 GETAS:IFAS=""THEN
116
EC 120 IF F<88THEN END
JH 13@ F=0:RETURN
128 Software Wanted
I've taken a little survey of my
own, and I'm not happy with
the results. In 11 issues of Ga-
zette you'd published 44 pro-
grams for the 64, four for the
128, and four for both. That is
not balanced programming.
Come on, readers, submit
more 128 programs. | plan to
submit mine, myself.
ROGER W. MILLER
PEORIA, IL
Thanks for calling attention to
the need, Roger. We encour-
age 128 submissions and
pay for the ones we publish.
I'm sure many programmers
have good 128 and 64 pro-
grams that are just gathering
dust. Remember, we can't
WE CAN RECONFIGURE ANY OF OUR COMPUTER PACKAGES TO YOUR
SPECIFICATIONS. CALL FOR DETAILS!
WE INVITE CORPORATE & EDUCATIONAL CUSTOMERS - DISCOUNTS FOR
QUANTITY ORDERS - RUSH, 2ND DAY & NEXT DAY AIR SERVICE AVAILABLE!
Special Purchase Blowouts!
Commodore?
02
13" COLOR COMPOSITE
MONITOR w/SOUND
(RECONDITIONED)
a COL. THERMG@
INCLUDES
eels: INTERFACE
SPECIALI
5 Free Games
with Purchase! }
C-128D Computer
C-1581 Disk Drive..CALL
EXCELLERATOR PLUS
FSD Il DISK DRIVE
AVE BIG §$ SSS
WHEN YOU BUY ONE OF OUR ALL IN ONE P
64C COMMODORE COMMODORE
TEST PILOT 64C 64C
PACKAGE COMPLETE COLOR
* Commodore 64C PACKAGE PACKAGE
"Sonpaie® °° COMMODORE 64/128 SOFTWARE
Disk Drive * Commodore 64C | » Commodore 64C FOP AIF LIST!
ree Link Computer Computer i $31,00 Mavorickv5.0.......1ssssss$29.00 Secret Silver Blades......u...$32.00
Software * Commodore 1541] » Commodore 1541 ape ML Basoball |! Enhan.......... $27.00 Sim City. 2
Sean Disk Drive Disk Drive Wead Soe eon tn ens ree
PACKAGES INcLUDED:| * 80 Column Printer} + 80 Column Printer poem Kees Keyan mars ra er Se oes We Wie
ee ace one . 12" Monitor : Color Monitor beeesoes socssoessuscscscees it} eeteeatepseassea 0) ner wee ors
cape ae) “Quran | -queun ink NFER = hy ‘SPECIALS
STAR PANASONIC
NX-1 $199.00 KXP-1180.
al ji seer
Cas
MPS-1270 Inkjet
PERIPHERALS FOR COMMODORE
COMMODORE 1541II COMMODORE 1571
DISK DRIVE DISK DRIVE
nee Sear gt tila Na rsabrabaavite $189 Super Snapshot 5.0...
Cardco iz_Interface...... re vis
Carmodiie 46AO MBGar Xetec S, ee Jr. Interface...
64, 64C Power Supply
OTHER ACCESSORIES FOR YOUR COMMODORE COMPUTER AVAILABLE
Circle Reader Service Number 187
More comments
about printer
G-4
programs, and
compter versions
FEEDBACK
eee
buy it if you don’t submit it.
By the way, we have pub-
lished a few other 128 pro-
grams: Measurement 128 (Feb-
ruary 1991), BX BASIC
(March 1991), Typing Tutor
(April 1991), and Super Cata-
loguer 128 (September
1991). Since these programs
were too large to offer as type-
ins, we included them as bo-
nus programs on Gazette
Disk. The subscription price
for the disk and magazine is
$49.95 for 12 issues. Call
(800) 727-6937 to order.
Frugal Plus /4
All the Plus/4s and older ma-
chines we use here in rural
Alaska don’t make us back-
wards, just frugal. In the days
before laptops, the Plus/4
was the easiest to convert to
12-V DC operation for use in
the bush. The situation is a bit
different if you live in one of
our fine cities, but rural kids
have been happily blasting ali-
ens for years with their 64s
and 128s plugged into gener-
ators.
My winter hobby is rewrit-
ing 64 programs for the Plus/
4. Somewhere along the way,
cabin fever must have
cleared up, but | was left with
1200 programs and files for
the Plus/4. Does anyone still
use a Plus/4? I'd be pleased
to get some fresh input and
share some programs for this
orphaned machine.
JAMES HEHL
P.O. BOX 877466
WASILLA, AK 99687
Multiplan Wanted
| am using my 64 system in
my business. Over the past
several years, | have generat-
ed hundreds of data disks
from various spreadsheets
and other programs, but now
I'd like additional software. I'd
like to purchase a copy of Mul-
tiplan. Could you help me
find a copy of this program?
TED DACE
OLATHE, KS
COMPUTE DECEMBER 1991
Try Software Support Interna-
tional, 2700 NE Anderson
Road, Suite A-10, Vancouver,
Washington 98661, (800) 356-
1179. They have a used copy
for $14.95.
Skip the Folds
I'm sure you've answered this
question many times, but how
can | print a long program list-
ing that skips over the folds in
my computer paper?
HELEN UNSER
ORLANDO, FL
Walter Johnson, from
DeKalb, Texas, included just
such a tip in a recent letter.
“Here's a trick | discovered in
making program listings skip
over the folds in the paper in-
stead of continuously printing.
It makes the program listing
look nicer, and it’s easier to
read when there are no lines
printed over the perforations.”
Load your program, but don't
run it. Then enter the follow-
ing lines in immediate mode.
OPEN 4,4:PRINT#4,CHR$(147):
CMD4:LIST
PRINT#4,CHR$(19):CLOSE4
BAM Aid to the Rescue
| recently had a problem
when my 1581 disk drive
crashed, causing me to lose
a number of newly created
SpeedScript files. The BAM
Aid recovery program you in-
cluded as a bonus on the Jan-
uary 1991 Gazette Disk
proved invaluable in recover-
ing the files. Thanks.
MARK REIDEL
LOMBARD, IL
We're glad the bonus pro-
gram helped. For readers not
familiar with Gazette Disk, it is
the companion disk for each
month's magazine. It contains
all the programs that are fea-
tured in that month's issue,
plus a bonus program or two.
Often these bonuses are too
large to offer as type-in pro-
grams in the magazine.
Which 64 Version?
I've spent hours searching
my software for a routine that
reports which version of the
64 is present and another
that’s capable of distinguish-
ing between Commodore com-
puters. Can you help?
FRANK WHITTAKER
AKRON, OH
A popular way is enter PRINT
PEEK65534). This returns a val-
ue of 72 on a 64 (or a 128 run-
ning in 64 mode), a value of
23 on a 128 in 128 mode, a
value of 114 on a VIC 20, and
a value of 255 on a Plus/4 or
Commodore 16.
Early models of the 64 pro-
duced different colors when
the screen was poked direct-
ly. Early 64s produced a
white character; revised moa-
els produced characters
whose color was the same as
the screen background, mak-
ing them invisible. Most 64s
produce characters that have
the current character color.
You can test this by clear-
ing the screen on your 64,
moving the cursor down a
few lines, and typing POKE
1024, 1. Original model ma-
chines will print a white letter
A in the upper left corner of
the screen. Revised models
will show nothing, but you'll
see an interesting effect if you
press the Home key. Most ma-
chines will print a letter A in
the current printing color, nor-
mally a light blue.
Programs usually work
around this variance by pok-
ing the color nibbles, but a pro-
gram could check with a
peek of address 59916. Orig-
inal models will show a value
of 1; revised models, 218;
and current models, 145.
Send questions and com-
ments to Gazette Feedback,
324 West Wendover Avenue,
Suite 200, Greensboro, North
Carolina 27408. iB)
The Lowest Prices in the World on
Commodore-Ready Printers!
NX-1000C NX-1000C Rainbow
——_ h
dpe hc alma Aiea ect See elastase ij SUQIC”
THE COMPUTER PRINTER
ssoidxy 1ajndwioD XANAL
Sug. Retail $299.00
NX-1000C Printer 75060 $179.95
Print in full color! Near-letter quality at 36 cps and high-speed draft at 144 Black Ribbon for NX-1000C/NX-1000C
cp: - NEW Pa In front panel Rainbow Color Printer 75471 $5.95
Color Ribbon for NX-1000/NxX- Lanes
pene. Rainbow Color Printer 5485 $9.95
f : II EF Dust Cover for NX-1000C/NX- fo00e
NX-1000C Rainbow Color Printer, Rainbow Color Printer 77789 $8.95
Commodore Ready 75783 $219.95
Call Today! 1-800-PROMPT-1
Don't miss out on the 2st Prices on .
Amiga 500 and Accessories!!
Call today to receive your i catalog
From
with the greatest prices on the most
popular hardware and software!
warrant Sug. Retail $49.95
TENEX MW 701-A 84513 $34.95
Web t2 pd aera
P.O. Box 6578 fi uresenl gh One aeant
South Bend, IN 46660 ! less than $19.99
(219) 259-7051 — FAX (219) 259-0300 2 a0 73
Computer E. xpress We gladly accept mail orders! No Extra Fee For Charges! $75.00-598.99 ......
$99.00-$149.99
$150.00-$299.9
ORDER TODAY CALL 1-800-PROMPT-1 $300.00 &up
Circle Reader Service auaminer 170
COMMODORE 64 and COMMODORE 128 are registered trademarks of Commodore Electronics, Ltd. AMIGA is a registered trademark of Commodore Amiga Inc., NOTE: Due to publishing
G5R
lead-times, product prices and specifications are subject to change without notice. * APO, FPO, AK, HI, CN, Vi, GU, and foreign orders are subject to additional shipping charges.
WAYS PARENTS CAN STEER CHILDREN
FROM PLAYING NINTENDO GAMES
TOWARD DEVELOPING COMPUTER SKILLS
TOWARD
COMPUTER LITERACY
0, you've decided, your
youngster is a computer
imbecile. The kid is inter-
ested only in manhan-
dling a small joystick and shov-
ing images of the Super Mar-
io Brothers around a TV
screen, while his Nintendo
makes the same disgusting
five-tone sound after every
move.
You rationalize and tell your-
self that this activity is great
for developing eye-hand coor-
dination. It must be because
the kid can beat you at every
activity except taking out the
garbage. Deep down, howev-
er, this mindless activity irri-
tates you because you know
that the kid is missing out on
something. The child isn’t
learning.
If you have a child who
spends hours with a Nintendo
and if you're like me, you won-
der how you can get your kid
to spend more time with a
computer. How can you en-
courage your child to be-
come computer-literate? Ar-
en't the schools supposed to
do that? The answer, of
course, is Yes. Schools do
teach classes in computer lit-
eracy, but you can help your
child learn these skills—even
if he or she is a teenager.
Here's how.
Rely on Schools...
Part of the Time
First, we might ask, what is
computer literacy? Is it pro-
gramming? Should my kid be
able to write simple pro-
grams? Well, yes, computer lit-
eracy may include some pro-
gramming skills, and most
schools offer classes in pro-
gramming these days, but
there is more to literacy than
programming.
My own children, intro-
duced to computers in ele-
mentary school, learned
some interesting things with lit-
tle turtles and the Logo sys-
tem. Making that onscreen tur-
tle do what the child wants
teaches young people some
very basic programming con-
cepts.
Even though my children for-
got all about Logo in later
years, the elementary course
got them used to computers
in general. They are not afraid
BY DOROTHY HEMME
of the machine—unlike some
adults—and they'll tackle any
task that interests them. They
know that clicking the wrong
mouse button or pressing the
wrong key on the keyboard
won't break the computer.
In the eighth grade, my chil-
dren took another literacy
class. That course taught
them to turn on the computer,
insert a disk, and format a
disk. It also taught them to
write simple programs that pro-
duced some interesting graph-
ic images. They learned to
print these images on a stan-
dard dot-matrix printer. Now
that was programming!
The problem was that they
lost interest in computers the
minute the class was over. No
transfer or carryover tran-
spired. Boredom seemed to
be the main culprit. I'd taught
my children these basic com-
puter literacy skills at home,
so the material they covered
at school during that semes-
ter seemed old hat and a
waste of time.
For my 13-year-old son,
games won out. Computers
meant games, and then
DECEMBER 1991 COMPUTE
G-7
games meant Nintendo. Anything else
was irrelevant.
Find Their Interests
So how did | regenerate my kids’ inter-
est in computer learning, and how can
you? First, cater to their interests. That
means games. For years, my son
used our Commodore for games. He
learned enough to load a disk, call up
a directory, and load a specific pro-
gram in order to play the game. Also,
fast load cartridges have their own spe-
cific procedures that he had to learn.
Some very intricate games on the
64, like Airborne Ranger, require him to
format a data disk. This allows him to
save his game at a certain place so he
won't have to start over from the begin-
ning each time he boots it up. In addi-
tion, he learns valuable note-taking
our test went to me.
Next, we compared features. Ninten-
do has a joystick and fire button. The
64 has those items plus a full keyboard
and eight function keys that can be pro-
grammed with different features. This,
he admitted, increased the wonderful
complexity of the 64 games.
Finally, | asked him to quit his Ninten-
do game and go unload the dishwash-
er. He couldn't or wouldn't (I'm not
sure which) because he would lose his
game unless he finished. On the 64,
several of his games have an option
that lets him save a game to disk.
Cater to Their Needs
My high school daughter, on the other
hand, cares nothing for games or the
computer. In school she discovered
that she had to write numerous essays,
TEACHING THE TEACHERS
Wenden Elementary School in Wenden, Ari-
zona, has four Commodore 64 computers.
| have taught kindergarten through eighth
grade for seven years with these same 64s.
They are used and abused by a variety of
students from 8 a.m. until 3 p.m. each
school day. If there is any better computer
for a school, | have yet to find it.
Convincing other teachers how great
the 64 is, however, has proven to be diffi-
cult. Two of my friends purchased Apple
computers this year, after | spent hours
with them demonstrating the virtues of the
64. Obviously, advertising has a tremen-
dous effect even on intelligent people.
Last year, through a supermarket's Ap-
ple for Computers program, we managed
to save enough receipts for an Apple Ilc+
and software. The graphics on the Apple
are terrible; the educational programs bor-
ing and twice as expensive as most 64 pro-
grams. | am really frustrated that Commo-
dore didn’t advertise the 64 and get it into
skills when he has to write down
codes, instructions, and keyboard func-
tions and commands—this in spite of
keyboard overlays. Since he loves play-
ing games, | used that to my advan-
tage, and he learns some important
computer skills while having fun.
My son loves Nintendo, and he
swears that its graphics are better
than the 64's. So we did a comparison,
sort of like the taste tests of the cola
wars a few years back. | gave in on
that one and admitted that perhaps he
was right; the Nintendo graphics, may
be a little better. Since he won a point,
that satisfied his adversarial urge, and
he continued with the test.
Next, we compared sound. Aha! Nin-
tendo has only a few preset tones,
whereas the 64's three voices offer a
wide variety of music, synthesized
speech, and battle sounds. Round 2 of
G-8 COMPUTE DECEMBER 1991
schools. Schools don't need the expense
of an Apple or IBM, and children don't ben-
efit from extra memory or other expensive
features.
I'd like Gazette to show me how other
schools use their 64s in labs. I'd like to
know that other teachers appreciate the va-
riety of educational programs for the 64
that | do. I'd like to hear from others who
use GEOS. It's such a fantastic program
that my students always ask for it when |
give them a choice of software. Students
in the lower grades would spend all day
with Microgram’s Big Math Attack if \'d let
them. They even choose it on game day,
when they can have their choice of any soft-
ware we have.
Well, | just wanted this chance to vent
my feelings. | just get so irritated when peo-
ple think the Apple is so great for class-
room work. I'm one who knows better.
JEANNE YOUELL
P.O. BOX 338
WENDEN, AZ 85357
and they had to be typed. The choice
was Clear. She could use either an old
manual typewriter with erasable bond
paper or the computer. When she dis-
covered that typing errors could be
corrected easily, her spelling could be
checked, and her paper could look pro-
fessionally printed, the computer won
this contest hands down.
Even though my daughter hadn't yet
taken typing in high school, she was
pretty good with two fingers. All of a
sudden, she became interested ina
computerized typing tutor and learning
keyboard skills.
With a word processing program,
she learned how to call up a directory,
set margins, and other skills of writing
and composition.
Then, of course, she had to revise,
edit, check the spelling, save her work
for later drafts, and print it out. Those
activities encompass many computer lit-
eracy skills needed in today’s society.
More than programming, people today
need to know how to use the machine
and the various types of software. And
| had her interested.
Let the Kids Talk
The greatest boon to computer literacy
in our family came through a $99 mo-
dem. QuantumLink garnered the inter-
est of both kids when they discovered
People Connection. People Connec-
tion lets them talk with dozens of other
teens across the couniry. The conver-
sations are live and cover a variety of
subjects. To them it's sort of like the Cit-
izens Band radio craze of a few years
ago. The kids like to gab with anyone.
In the interest of saving money, | lim-
it the time that they may chat on Q-
Link. They have fun online, but at the
same time they had to learn the simple
computer and modem hookups and
the necessary software commands in or-
der to use the QuantumLink telecommu-
nications service.
All of this learning, which was just a
game to them, displayed what | consid-
er to be some sneaky teaching on my
part as a parent. | used their interests
and sense of fun to help them become
computer-literate. They learned about
baud rates, downloading files and pro-
grams and saving them to disk, and
printing sequential files when they want-
ed hardcopies of their electronic mail
or a file from Q-Link’s encyclopedia.
They became experts using programs
such as Omega-Q, Lynx, Library, and
Squeeze-Unsqueeze.
More Than Literacy
Later, | downloaded terminal programs
and files from Q-Link that listed BBS
numbers for our area code. That
clinched it. My son started evaluating
all the terminal programs | had down-
loaded until he found just the one he
liked. He had to learn about XMODEM
and Punter protocols and about echo-
ing and duplexes. He quickly found
out how much the buffer would hold.
He and his best friend called each oth-
er constantly to talk on the computer in-
stead of the telephone. As a result, my
son quickly learned keyboard skills. He
downloaded dozens of files from local
BBSs and user groups. Eventually,
when the need arose and he wanted to
conserve disk space, he queried me
about how to scratch files he no long-
er wanted. He also learned the pitfalls
of constantly scratching and saving
without validating.
Finally, my son learned to play com-
puter games via modem with a human
being on the other end of the tele-
phone line trying to “kill” him. He had
INTRODUCING
FIND US ON Q- LINK
Q-LINK STARTER |
FREE
COMPUTE of NET
@ About COMPUTE/NET
@ Product Ordering
l™ Feedback Board
lM Coming Events
m@ Monthly Contest
Welcome to the grand opening of =
COMPUTE/NET. A wealthof
information awaits you. Back issues —
of COMPUTE, hard-to-find computer eer
books, super software, dazzling
_ pictures, challenging games, Prizes,
-a complete bulletin board, and —
much more are here. You can evens ee
talk to the editors and authors of the. eee
magazine. Lots of surprises are sa des
planned, so Keep: Ta Eon us.
Just call our toll-free number or
return the coupon, and we'll send
you the Q-Link Starter Kit and
software free, waive your first
month's membership fee, and credit
you with one hour of "Plus" time to
try the service. Your $9.95 monthly
fee gives you unlimited access to
all of our "Basic" services online,
including a searchable encyclope-
dia, AND one free*hour of "Plus"
services. After your free hour,
you'll pay only $4.80/hour-just 8
cents per minute—for additional use
of the service.
Q-Link is a registered service mark of
Quantum Computer Services, Inc.
*Long-distance charges may apply.
Surcharges apply if you are a resident of
Alaska, Hawaii, or Canada. Allow four to
six weeks for delivery.
| YES! Send me my FREE Q-Link software, waive my
first month's membership fee, and credit me with one
FREE* hour of Plus time to explore the service and try
COMPUTE/NET.
Name
Address
City
Home Phone
State Zip
MAIL TO
Q-Link
8619 Westwood Center Drive
Vienna, Virginia 22182-9897
Use of Q-Link requires a VISA,
MasterCard, or checking account.
Cian ee
* «... 2 =e
to think quickly, matching wits with a hu-
man opponent rather than a computer.
He developed time management
skills: when to do his homework and
household chores. He then made spe-
cific appointments he had to keep; the
next game was at 8:00 p.m. As a side
effect, he had to be nice to the rest of
his family, since he tied up the phone
and we couldn't use it while he was on
the modem. He also had to accept
that he had time limits for playing
games and using the computer. Thus,
efficiency screamed out as the watch-
word of this teen’s day.
The Last Word
Are my children computer-literate? |
think so. At least by my definition. In
good time, they'll take the last high
school course in computer literacy
that’s required by the state of Texas to
get their diplomas. They may or may
not turn into computer programmers or
technicians, but they'll have most of
the essential skills that Americans of
their generation are going to need.
They have the ability to work the ma-
chine and, better yet, to make the com-
puter work for them.
Dorothy Hemme teaches English at a
high school in Sugar Land, Texas. O
G-10 | COMPUTE DECEMBER 1991
Gazette is looking for
utilities, games,
applications,
educational programs,
and tutorial articles. If
you've created a
program that you think
other readers might
enjoy or find useful,
send it on disk to
Gazette Submissions
Reviewer
COMPUTE Publications
324 W. Wendover Ave.
Ste. 200
Greensboro, NC 27408
Please enclose an
SASE if you wish to
have the materials
returned.
ONLY
ON
DISK
In addition to the type-in programs
found in each issue of the magazine,
Gazette Disk offers bonus programs
and original 64 and 128 artwork. Here
are this month's bonuses.
The Raven
Daniel Lightner
Sidney, MT
Enter this machine language adventure
game, and you'll find yourself in a three-
dimensional maze that’s filled with valu-
able treasure. The object is to locate
the treasure and return it to a special
storage area. The only obstacles are
the puzzles that you'll have to solve
and a number of deadly creatures block-
ing your path.
You are not alone, though. A friend-
ly Hobbit named Harvey will help you
find your way through the maze.
Trig 128
James Moore
Cleveland, OK
Use this handy 128 program to help
you solve any triangle, not just right tri-
angles. The program calculates sides
to four decimal places and angles to
the nearest second. The program will al-
so help you determine the area of a tri-
angle if you know an angle and the
length of its two sides or if you know
the length of three sides.
This program can be a real help to
trigonometry students—but that's not
all. Trig 128 can also be used to find
the distance between any two Carte-
sian coordinates.
Christmas Tunes
Don Radler
Cape Coral, FL
Enjoy these traditional Christmas
songs and carols that have been col-
lected by Don Radler. They can be
played on the enclosed music pro-
gram.
Gazette Gallery
Picture of the Month
“Rage”
By Jeff Boyle
Bethlehem, PA
“Twas the Night”
“Santa's Best”
By Robert Woodall
Rural Hall, NC
COMPUTE BOOKS
GIANT WAREHOUSE
CLEARANCE SALE
Commodore
Books
as low as
$4
each
.
~ First Book of Commodore 64 Games (37X) CO Mapping the Commodore 64 (0823)
a First Book of Commodore 64 (34X) (© More Machine Language Games for the Commodore 64 (0947)
B Third Book of Commodore 64 (728) C) Machine Language for Beginners (116)
2. All About the Commodore 64, V. 1 (040X) (1) 40 Great Submarine Simulator Adventures (1722)
8 Beginners Guide to Commodore 64 Sound (54X) C) 40 Great Flight Simulator Adventures (0224)
a Commodore 64/128 Power Basic (0998) (1) 40 More Great Flight Simulator Adventures (0432)
z Commodore Collection (701) © Flying on Instruments with Flight Simulator (0912)
z Creating Arcade Games on the Commodore 64 (361) XC) Official Book of King’s Quest (1552)
Machine Language Games for the Commodore 64 (0610)
Be sure to enclose a check or credit card information.
A. ___________ Total number of books ordered Enclosed is ——. Check MC# VISA#
B.__________ Total cost of books ordered: MC or VISA #___________ Expiration date
1 book—$6 3 books—$15 5 books—$22 Signature
2 books—$11 4 books—$19 6 books or more—$4 each Name
C,__________ Shipping and Handling: Please add $1 per Address
book US, $2 per book Canada, or $6 per book foreign City ite Gade
D._________. NY, NJ, NC orders please add appropriate ail to: COMPUTE Books
sales tax. Canadian orders add 7% Goods and Services Tax clo CCC
2500 McClellan Ave.
Total Cost (B+C+D) Pennsauken, NJ 08109
Please allow 4 to 6 weeks for delivery.
|
t
'
'
t
'
!
'
1
'
t
'
'
!
!
!
1
1
i]
1
1
!
!
!
1
1
1
!
1
'
!
!
1!
!
1
!
! . .
Please place a check next to the books you want. Complete the form below and mail entire coupon to the address below.
1
1
!
!
!
!
!
1
!
'
!
'
1
1
1
1
1
!
!
1
1
1
!
1
i]
1
!
1
!
!
!
!
' Offer expires December 31, 1991 or while supplies last. CLEAR
1
REVIEWS
DUCKTALES: THE
QUEST FOR GOLD
Do you have what it takes to
lead a band of explorers
around the world searching
for treasure? As Scrooge
McDuck you have 30 days to
earn more money than your
old nemesis’ Flintheart
Glomgold. In your search for
riches you can explore any
combination of caves, jun-
gles, mountains, or forests.
Each area offers a differ-
ent type of adventure and
chance for wealth. You can
earn extra money by photo-
graphingrare animals or barn-
storming in your plane. In all,
DuckTales: The Quest for
Gold offers a wide range of
possible strategies, and the
game works on many inter-
est levels. Disney has pack-
ed several entertaining
games into one story line.
The game opens in
Scrooge’s office where you
choose from three main
game activities: diving for
rare coins, investing in the
stock market, or exploring re-
gions of the globe. You have
no cash reserves when the
game begins. Diving for
coins is the simplest activity,
but the one least likely to
yield success. You simply en-
ter Scrooge’s vault and dive
into the pile of coins, hoping
to retrieve one worth $1,000.
You'll succeed often enough
to make this a good first-day
activity, but it’s not worth stay-
ing more than a day there.
Once you have earned
some money, you may
choose to make it grow by in-
vesting in the stock market.
The market consists of ap-
proximately 30 stocks, with
prices ranging from less
than $10 to well over $100.
As you scan the list, you'll
receive more detailed infor-
mation about each company
and one of five chart letters.
G-12
In the documentation are
five different charts which
can be used to predict chang-
es in the valué of each
stock. Knowing the chart let-
ter for a stock will help you de-
cide when to buy and sell.
Although the charts are all
different, a good general strat-
egy is to buy around the Sth
boas a) weet
in, of oS ee, ~ eon
there, and the number of
days required to get there.
Most locations take two
days of travel time and one
day to explore. Once you
choose a destination, you
must fly your airplane there.
Flying is an adventure in it-
self. The only controls you
have are loops up, loops
Dive in Scrooge’s vault and you might come up with a coin worth
$1,000, but other activities can earn you more.
or 10th day and sell on the
20th day. You may also try to
hold a stock until the 30th
day, when all stocks reach
their top value, but this can
be dangerous. Random
events occur almost daily,
dramatically affecting the val-
ue of individual stocks. So, if
you invest, check your
stock's progress frequently.
Of course, you cannot in-
vest until you have earned
some money. That means
you'll have to go exploring.
Scrooge's office is equipped
with an electronic atlas
which you use to plan your
trios. The map is accurately
drawn and contains approx-
imately 30 places to explore,
such as Yellerstone Park and
the Whatsamatterhorn.
You can read about each
location, the treasure hidden
COMPUTE DECEMBER 1991
down, and acceleration. You
cannot easily make the
plane fly straight.
Balloons above, moun-
tains and power lines below,
occasional falling pianos,
and even clouds will impede
your aerial progress. Your
plane, being made of rub-
ber, can bounce, but not of-
ten. If you can't make it all
the way to the hangar and
you crash, you'll still reach
your destination, but you'll
lose one day and a substan-
tial part of any money you
may be carrying. It is wise,
therefore, to go regularly to
the Scales of Macaroon to de-
posit your money. If you get
really good at flying, you
may want to try barnstorming
for extra money, but the $50
bonus it pays hardly makes
it worth the effort.
The treasure locations are
divided into four types. The
easiest is big game hunting—
with a camera. You wait at
the edge of a forest to take
pictures of rare animals as
they peek from behind
rocks, trees, or bushes. Your
only limits are the clock and
your roll of 12 pictures.
Each picture of an ordi-
nary animal is worth $50,
and each unique one $500.
My three-year-old son liked
this part of the program
best. He loved hunting pink
elephants and spotted ze-
bras. My favorites were dolly
llamas and sausage lynx.
Cave exploring has a
much faster pace than pho-
tography. You are in a maze
of tunnels with each screen
representing a crossroad. A
map of the cave is provided.
The map’s completeness de-
pends on the difficulty level
you chose at the beginning
of the game. It is a good idea
to press the P key to pause
the program in order to study
the map before you begin.
Once you start, avoid the
green slime areas, which
lead to pits, and move quick-
ly to stay ahead of an Egyp-
tian mummy that is pursuing
you. The value of the treas-
ure can be large, and you
can pick up extra bags of
cash along the way.
The other two adventures
are similar to joystick-driven
arcade games. In one you
make your way across a
swamp by climbing trees, rid-
ing on hippopotami, and
swinging on vines. You must
avoid an array of coconut-
hurling monkeys, slithering
snakes, and sinking turtles.
The other adventure
takes place on a mountain
where you jump on ledges
and duck into caves. You
must avoid goats, boulders,
and other obstacles.
In each case you are al-
lowed to send your three
PUMP UP
YOUR PRODUCTIVITY!
Harness the potential of your, The Cozette: Crapics
: Grab Bag
64 and 128 with these Do it all with Commodore
graphics!
powertul programs. Hersie fate on it
Get more work out of your 64 and 128 ve sD eee
with these two new disk products from Mss 128 Graphics Compactor,
64 Animator, VDC Graphics,
Dissolve 128, Super Slideshow,
128 Animator, 1526 PrintScreen,
Supratechnic, Medium-Resolution
Graphics, Screen Maker, GAS!64—
COMPUTE's Gazette — the 1992
Best of Gazette Utilities, and
the Gazette Graphics Grab
Bag!
The 1992 Best of Special Edition, GAS!128—Special
epo.e E iti e
Gazette Utilities gien
Seize control of your operating
system and your world!
Here's what's on it-MetaBASIC 64,
MetaBASIC 128, Quick, Sprint II,
Ultrafont+, RAMDisk 64, RAMDisk 128,
BASSEM, SciCalc 64, List Formatter,
MegaSqueeze.
THEM
TODAY!
Extend Your Computer Power With This Powerful Software!
___ Check or Money Order __ MasterCard
| want to pump up my productivity! Please send me the
@ disks checked below at $11.95 each. Credit Card No.
Signature
___The 1992 Best of Gazette Utilities _ (Required)
_— The Gazette Graphics Grab Bag Daytime Telephone No.
__ Subtotal
___ Sales Tax (Residents of NC and NY please add appropriate sales tax for your
area. Canadian orders, add 7% goods and services tax.) Address
Name
___ Shipping and Handling ($2.00 U.S. and Canada, $3.00 surface mail, $5.00 City
airmail per disk.)
tate/Provi ZIP/Postal Code
___ Total Enclosed State/Province. —C—“—~—S~S~SCSCSCSCCCCCZIP POS
Mail this coupon to COMPUTE's 1991 Utilities, 324 West Wendover Ave., Ste. 200,
Greensboro, NC 27408.
REVIEWS
nephews on the adventure,
and your party fails if all
three nephews fall off the
mountain. These adventures
require thoughtful planning
and careful execution, as
well as a dexterous touch
with a joystick.
DuckTales is a thoroughly
enjoyable game with many
features to recommend it.
The graphics are outstand-
ing, and the sound effects
complement the action. The
program is best run on a sys-
tem with a color monitor and
a joystick, but neither is re-
quired. If the program has a
flaw, it is the time required to
load each screen, but this is
more the fault of the Commo-
dore's limited speed than the
program itself.
As an educator | appreci-
disk!
COMPUTE.
G-14
COMPUTE DECEMBER 1991
ate the way the stock price
charts, the electronic atlas,
and the mazes make learn-
ing and thinking fun. Having
the option to choose from a
variety of game formats
makes the program suitable
for a wide range of abilities
and interest levels. This
game will appeal to kids of
all ages. Best of all, the pro-
gram and excellent documen-
tation are filled with Disney's
whimsical sense of humor.
DuckTales is a treasure.
JIM SMITH
Commodore 64 and 128—$19.95
WALT DISNEY COMPUTER
SOFTWARE
500 S. Buena Vista St
Burbank, CA 91521
(818) 567-5360
Circle Reader Service Number 311
Yes, save time and money! Subscribe to the Gazette
Disk and get all the exciting, fun-filled Gazette pro-
grams for your Commodore 64 or 128—already on
Subscribe today, and month after month you'll
get all the latest, most challenging, and fascinating
programs published in the corresponding issue of
New on the Gazette Disk! In addition to the
programs that appear in the magazine, you'll also
get outstanding bonus programs. These programs,
which are often too large to offer as type-ins, are
available only on disk—they appear nowhere else.
As another Gazette Disk extra, check out
TEXT PRINT
If you use geoWrite, you
know it's an excellent graph-
ic word processor. However,
even the best graphic fonts
sometimes lack the quality to
make them appropriate un-
der all circumstances. Your
printer probably has a near
letter quality (NLQ) mode,
but geoWrite’s ability to util-
ize the NLQ features is lim-
ited. It allows no pitch, font,
or style choices whatsoever.
These limitations make it nec-
essary occasionally to use an-
other word processor.
If you love the WYSIWYG
environment as much as |
do, you probably wish there
was a way around these lim-
itations so you could make
geoWrite your only word proc-
coupon today.
Individual issues of the disk are available for
$9.95 (plus $2.00 shipping and handling) by writing
to COMPUTE, 324 West Wendover Avenue, Suite
200, Greensboro, North Carolina 27408.
for only $49.95.*
“Gazette Gallery,” where each month we present the
very best in original 64 and 128 artwork.
So don’t waste another moment. Subscribe to-
day to COMPUTE’s Gazette Disk and get 12 issues
for only $49.95. You save almost 60% off the single-
issue price. Clip or photocopy and mail completed
YES! Start my one-year subscription
to COMPUTE’s Gazette Disk right away
essor. A talented program-
mer named Terry Van Camp
has something called Text
Print that may do just that.
Text Print V2.5 is a piece
of shareware which can be
downloaded from Quantum-
Link or ordered from the ad-
dress below. In the Text
Print package you'll also get
additional files: Custom
Print, Text Print documents,
Zero Fix, and three fonts to
help maintain an accurate
screen display.
The excellent documenta-
tion explains how to use the
Custom Print program to cre-
ate one or more customized
versions of Text Print for any
printer. Note that the Text
Print file you want to custom-
ize must be ahead of all oth-
er such files on the deskTop.
O Payment enclosed (check or money order)
OCharge OMasterCard OVisa
Exp. Date
Signature
(Required)
Name
Address
City
State/ ZIP/
Province Postal Code
I
I
!
I
1
I
I
I
I
I
| Acct. No.
I
|
I
I
I
I
|
1
1
l
orders, add 7% goods and services tax.
Mail to COMPUTE's Gazette Disk, P.O. Box 3250, Harlan, IA 51593-2430
“Residents of NC and NY, please add appropriate sales tax for your area. Canadian
re Can Your
(ay Computer Make
a) YOU
Y} $1,000,000?
WITH LOTTERY PC YOUR NEXT TICKET
COULD BE WORTH MILLIONS!
LOTTERY uses the raw power and storage of your
computer to determine and refine the number selection
methods that will win the various lottery games you
play. Don’t be limited to the one or two methods that
other programs use, they might not work in your state.
There is no better system available!
Join the growing list of winners using our system.
SPECIFY:
Lottery 64(C64/128)
Lottery PC
IBM PC/XT/AT and compatibles
Commodore64/128 & Plus/4 are registered
trademarks of Commodore Int
IBM PC/XT/AT are registered trademarks of
International Business Machines Inc
°
To order, send $29.95 for each plus $3.00 postage &
handling per order to:
(Illinois residents add 6% sales tax)
(Grders outside North America add $3.00)
C.0.D. orders call:
(708) 566-4647
Superior Micro Systems, CD) A
aS 26151 N. Oak Ave. (a
Mundelein, IL 60060 a |
Circle Reader Service Number 221
Computer
Rided
|
Engineering
Now! design custom
electronic circuits and
lay out circuit boards
with our very user
friendly software.
FREE INFORMATION
WeaselGraphics
P.0. Bax 647
Sun City, CA 92586-0647
Phone (800) 356-8113
Send Today!
We need you.
American Heart
Association
You will be entering printer com-
mands to be executed when an option
is selected from the geoWrite Style
menu. For average use, it's probably
best if you stick to equivalent decimal
printer commands, such as italic for ital-
ic, bold for bold. Look for these com-
mands in your printer's manual.
Some printers use a 0 as one byte of
their decimal command strings. Since
Custom Print doesn’t recognize 0 as a
byte, the Zero Fix file may have to be
used. However, | have found that sub-
stituting the number 128 for the 0
works just fine for me.
This program is easy to use. Just
type a geoWrite document as you nor-
mally would, using any style changes
you like. Then follow the manual’s print-
out instructions. Be sure to update the
document just prior to printing. Updat-
ing isn’t automatic as it is in a regular
geoWrite printout.
Although the latest version has cor-
rected earlier problems and added
many excellent features, 7ext Print still
isn’t perfect. Here are two quirks.
Never attempt to format a paragraph
indention on the very first line of any
page. Press Return to create at least
one blank line at the top of a page and
then put in the paragraph indention.
Don't assign a style change to a
word that extends to the last column in
a line. That is, if the word were one char-
acter longer, it would wrap.
These are minor inconveniences
that hardly outweigh Text Print's many
outstanding features. For example, it ac-
cesses geoWrite documents from up to
three drives and permits paging
through all documents on each disk.
Full justification, tabbing, and multiple
document printouts are possible, in ad-
dition to supporting all style combina-
tions allowed by your printer.
Since Text Print is a Desk Accesso-
ry, it isn’t necessary to leave geoWrite
to print a document. You should be im-
pressed with its ease of use and flexi-
bility. | know | am!
ROBERT NELLIST
Commodore 64 and 128—$10
TERRY VAN CAMP
16604 Cypress
Strongsville, OH 44136
(412) 727-25342
Circle Reader Service Number 312
91
Gazette
Index
Everything’s included!
Features, games, reviews,
education/home applications,
programming, bugswatter,
feedback, and columns!
A superb interface includes pull-down
menus, help screens, and keyboard,
joystick, or mouse control. Features in-
clude super-fast searching and sorting
capabilities. An options screen allows
you to choose text colors, drive num-
ber, and input device. And there’s full
documentation on disk.
Choose from three modes of opera-
tion— browse for quick scanning, view
for detailed information and descrip-
tions, and edit for adding items from
upcoming issues—and print to any
printer. There’s even a turbo-load op-
tion for maximum disk-access speed.
ORDER YOUR
1991 GAZETTE
INDEX TODAY!
(MasterCard and Visa accepted on
orders with subtotal over $20.)
To order, send $7.95 per disk, the
quantity of disks ordered, check or
money order,” your name and com-
plete street address:
1991 Gazette Index
324 West Wendover Avenue
Suite 200
Greensboro, NC 27408
“Please add $2 shipping & handling ($5 foreign) for
each disk (residents of NC, NJ, NY please add appli-
cable sales tax; Canadian orders, add 7% goods and
services tax).
All payments must be in U.S. funds. Please allow 4
weeks for delivery.
DECEMBER 1991
COMPUTE G-15
INTRODUCTORY
C-64/128
DISK OFFER!
8 BIT
PO Box 542
Lindenhurst NY 11757-0542
SPECIAL # |: 6 DISK SET FOR ONLY $5.00
#1: THE ART GALLERY / Beautiful Hi-Res artwork
#2: STAR TREK / Games, Pictures & Music from Star Trek
#3: ARCADE CLASSICS / Some old favorites. A+ Quality
#4; GEOS CLIP ART / Sempledisk *GBOS NEEDED!
#5: BEATLES MUSIC/ 32 Beatles greatest hits with words.
#6: HOME WORKER / Processor, Checkbook, Budget+more
#4: ADULT SHOW #4/ Contains Hi-Res Adult pictures
#5: ADULT SHOW #5/ Contains Sexy-Hexy pictures
#6: GAMES & PICTURES DISK / Demos,SexGames+more
YOU MUST STATE THAT YOU ARB 18 FOR ADULT DISK SETI
ADD $ 2.00 SHIPPING! U.S. FUNDS ONLY! SORRY NO COD’S
ACOPY OF OUR 1200+ DISK CATALOG WILL BE SENT!
OR CALL (516) 957-7893 MON-FRI 10 TO 5 FOR A FREE COPY
Circle Reader Service Number 162
FUNctional
Weekend
Projects for
C-64 Ultra-Users!
¢ Automotive Dwell/Tach Diagnostics
Program with Interface Schematics $5.00
¢ Home Sentry - Residential Security
On Disk with Interface Schematics $20.00
Send Check or Money Order to:
CREATIVE SPECIALTIES
P. O. Box 7361
Richmond, VA 23221
* Allow 3-4 Weeks for Delivery
Circle Reader Service Number 125
Standing Together
Sharing |s Caring.
G-16 COMPUJE DECEMBER 1991
REVIEWS
DREAM TEAM: 3 ON 3
CHALLENGE
If it's too cold to go outside and shoot
a few hoops with your buddies and
there are no basketball games on tele-
vision at the moment, then pump up
your Nikes and head for your trusty 64.
Players who want an exciting and
quick basketball game have had their
prayers answered with Data East's lat-
est addition to its MVP Sports line,
Dream Team: 3 On 3 Challenge.
Dream Team, a pure arcade game,
offers one-on-one and two-on-two
games in addition to the three-on-three
mode in the title, practice modes, and
demo games. There are 26 players in
the game's roster, but only 3 of them
are NBA players: Patrick Ewing, Dom-
inique Wilkins, and Joe Dumars. The
rest of the players on the roster possess
the names of the designers and produc-
ers of Dream Team. The challenge of
Dream Team is to take on these 3 stars
with a team of your own.
Player selection is very liberal in
Dream Team. You could put together
two teams with the same players for an
even match up. If you want to go even
further than this, you can have one
team with all three players the same.
This flexibility allows physically impos-
sible fantasy games as well as games
of varying difficulty.
The game selection menu offers one-
on-one, two-on-two, three-on-three, prac-
tice games for one or two players, and
a demo game. After game selection,
scroll through the players you want for
the teams, select one of three courts,
choose three-on-three or standard
rules, pick winners or losers outs, and
the game begins. You can return to the
main menu at any time by pressing the
Run/Stop key and responding at the
prompt with Y to confirm.
Gameplay is very quick in Dream
Team: 3 On 3 Challenge. Player control
is easy to pick up, So you can keep up
with the opposition after a game or two.
Move the joystick to direct the currently
selected player. Hold down the button
to shoot the ball. Quickly press the but-
ton to pass the ball to another team mem-
ber or switch players. Press the button
under the basket to try to grab a re-
bound. In no time at all you'll be able
to take on the “dream team” of
Dumars, Ewing, and Wilkins!
Dream Team games follow the rules
of basketball, with violations resulting in
change of possession except in the
case of personal fouls. Three-on-three
game rules result in quicker games
than those played with a full team of
five players, and it is often more difficult
to win games under these conditions.
There's just no breathing room. Three-
on-three games differ from the standard
game in a variety of interesting ways.
There are no free throws, the clock
doesn't stop, games are played to 25
points or 20 minutes, the shot clock and
3-seconds-in-the-key violations aren't in
effect, and players abide by losers
outs.
To make the game more interesting,
the designers have included four rota-
tion plays. You select a play before you
pass the ball inbounds. Unfortunately,
the manual doesn't describe or provide
information about the plays. You have
to figure them out on your own.
The players on the roster in Dream
Team each have their own statistics. Re-
bounds and shot percentages really
make a difference in a game. You'll no-
tice this particularly when you shoot the
ball. A lot of times, you may have let the
ball go at the top of the player's jump,
but the ball misses the basket. That's
a result of the player's statistics. You'll
learn very quickly that three guards
might make an interesting team, but it’s
not a practical team if you want to
score big. This touch of realism makes
the game more difficult and frustrating.
It is even more difficult to control the
ball or steal it when the teams are un-
der the basket in three-on-three
games. You just can't see the ball be-
cause of the crowd of players. The
designers should have remedied this sit-
uation. Other than these problems,
you'll find that Dream Team is a capa-
ble game, full of challenge and basket-
ball action.
Dream Team graphics are not the
best. Although the animation of the char-
acters is nice, colors for the players and
the backgrounds are not very good.
This leads to a problem with player identi-
fication under the basket in three-on-
three games.
Although Dream Team looks some-
what drab, other features aid in game-
play. Messages pop up oc-
casionally at the bottom of
the screen to update the play-
ers, such as STEAL, CHARG-
ING, and TAKE BALL OUT.
Also, the shot clock and
game clock are right in your
face on the sides of the
screen. Sound effects and
music are nothing special.
Without bells and whis-
tles, Dream Team manages
to pull through with the game-
play and novel idea of the
“dream team” of Dumars, Ew-
ing, and Wilkins. The game
is a lot of fun, and it’s even
better with two players be-
cause the computer some-
times runs right over you in
one-player games.
Watch the computer de-
mo first to get an idea of how
to approach the game and
to learn the rotation plays for
a further advantage. As one
of the few software compa-
nies still supporting the 64,
Data East occasionally man-
ages to bring down a game
from the high-end comput-
ers. Although other conver-
sions have been cleaner,
Dream Team is still worth the
money. Despite the lack of
pretty graphics and impres-
sive sounds and music,
Dream Team: 3 On 3 Chal-
lenge should keep basket-
ball fans happy for hours.
RUSS CECCOLA
Commodore 64 or 128—$29.95
DATA EAST
1850 Little Orchard St
San Jose, CA 95125
(408) 286-7074
Circle Reader Service Number 313 J
COMPUTE’s
SpeedScript Disk
A powerful word processing
package for Commodore 64
and 128 owners
A Great Deal for Commodore
Users!
¢ SpeedScript for the 64
¢ SpeedScript 128—80-column version
¢ Spelling checkers
¢ Mail merge
e Date-and-time stamp
* 80-column preview for the 64
¢ Turbo save and load
yes! seid ne
| SpeedScript Disk.
I’ve enclosed $11.95 plus $2.00 postage and handling. (Outside
U.S. and Canada add $1.00 for surface mail or $3.00 for
| airmail.)
| ORDER NOW!
Big Blue Reader 128/64
Read & Write IBM PC Disks!
Big Blue Reader 128/64 is a fast, easy-to-use, menu driven program
for novice and expert alike. Transfers word processing, text, ASCII, and
binary files between Commodore 64/128 and IBM PC compatible 360K
5.25" and 720K 3.5" disks. h
Requires 1571 or 1581 Disk Drive. Does not work using 1541.
BBR 128 Version 3.1 upgrade, $18+ original BBR disk.
Big Blue Reader 128/64 only $44.95
Bible Search 3.1
The only Bible Study Program with:
1. The Entire Old and New Testament on (4) 1541/71 or (2) 1581 disks.
2. An Exhaustive English Concordance on (2) 1541/71 or (1) 1581
disks; pee more than 700,000+ references.
3. Incredible five (5) second look-up time, per/word, per/disk.
4. Instant, automatic spell checking of more than 12,800 words.
5. Boolean search options, including AND, OR & NOT logic.
6. Search entire Bible in 5 seconds with 1581 or Hard Drive (v3.5).
7. A Money Back Guarantee!
Includes: Easy-to-use, C64 and C128 (40/80 column) programs;
printer and disk output; users guide, disk case, and more.
Available on (7) 1541/71, or (4) 1581 disks. (Demo disk $5)
KJV $49.95 vxvrurveve NIV $59.95
sx Any questions? Call or write for more information.
Now Available! AMIGA, Bible Search
Order by check, money order, or COD. US Funds only.
t= FREE shipping in NorthAmerica. No Credit Card orders.
Foreign orders add $5 S/H ($12 whole Bible)
SOGWAP Software @ (219)724-3900
115 Bellmont Road; Decatur, Indiana 46733
copies of COMPUTE’s
Amount
Sales Tax"
Total
Address
State
Mail personal check or money order to
Commodore SpeedScript Disk
324 W. Wendover Ave., Ste. 200
Greensboro, NC 27408
Residents of North Carolina and New York, add appropriate tax for your area. Canadian
orders, add 7% good and services tax.
e Plus more than a dozen other SpeedScript
support utilities all on one disk (including
full documentation)
Please allow 4-6 weeks for delivery, Program available only on 54-inch disks.
DECEMBER 1991 COMPUTE G-17
After ten years,
the 64 is
still one of the
best-selling
G-18
WORLD VIEW
Steve Jarratt
VIEW FROM
THE U.K.
Believe it or not, the 64 is still
one of the best-selling com-
puters in Europe. Tumbling
prices, plus the fact that com-
peting 8-bit machines—Sin-
clair Spectrum and Amstrad
CPC—are pretty much on
their last legs, mean that the
64 is the only really viable com-
puter in the sub-100-pound
($170) range. The next step is
to an Amiga, which, at 400
pounds ($680), is a hell of a
jump. So, against all the
odds, Commodore's ten-year-
old machine refuses to
breathe its last.
After four or five years of
leaving the machine to wan-
der in the 8-bit wilderness,
Commodore finally recog-
nized the possibilities of the
beast and decided to do some-
thing with it. Great, we
thought. Enter the 64 Games
System (GS). Ah, not so
great. Basically, they took the
64 circuit board minus its key-
board, twisted the cartridge
port so that it sat on top,
shoved it all into a gruesome
beige case resembling a twen-
ty-first century coffin, and—
bingo—a game console!
The UK is, at the moment,
in the grip of console mania.
The Sega Master System and
Mega Drive have taken off in
a big way, while Nintendo's
Entertainment System and
Game Boy are starting to
make waves (at last). Sega's
Game Gear is now available,
and people like me spend
huge amounts of money on Su-
per Famicoms (Super NES)
imported directly from Japan.
So, in a bid to take a share of
this burgeoning market, Com-
modore unleashed its GS on
the game world. Publishing
houses across Britain started
producing cartridges for the
machine, and the 64 maga-
zines all tried to make it sound
COMPUTE DECEMBER 1991
like a good really thing.
It bombed—horribly. Practi-
cally no one bought it, and with-
in six months of its release last
year, it could be found in high
street retail stores slashed to
around 20 quid ($34). Howev-
er, all was not lost.
As everyone knows, the ma-
jestic isle known as Britain re-
sides on a small planet orbit-
ing the Earth. That’s why we
get movies a year after you
guys in the States and game
machines ten years after the
Japanese. It's also the reason
why the majority of 64 owners
load in games from tape. Yep,
you heard me right: audio
tape—on cassette. (You may
laugh, but some tape-based
fast load systems can actually
get games into memory faster
than Commodore's old 1541
disk drive.) As you can imag-
ine, tapes are starting to look
a little dated; they’re wonder-
ful for budget games (titles pro-
duced cheaply and quickly for
sale around the 3-pound [$5]
mark), but pretty awful for big,
multiload titles.
The legacy of the 64GS is
that occasionally we get
games for it on cartridge. This
means instant loading, loads
of memory, and wonderful re-
liability. The best of the bunch
so far have been Robocop 2,
Pang, Plotting, and Navy
Seals from Ocean, plus Myth
and The Last Ninja 3 from Sys-
tem 3. These cartridges (at
around 20 pounds or $34) are
more expensive than normal
64 games on tape of disk, but
if you're after some decent ti-
tles, you could do worse than
plugging these into your ma-
chine. They may or may not
find their way into the U.S.
| hear that game cheats in
the U.S. are almost unheard
of, which really surprises me.
A major part of our 64 mags
are given over to POKEs
which enable players to alter
the game code itself, provid-
ing infinite lives, infinite time,
no collision detection, or what-
ever's needed to make the
game completable (or in
some cases, playable). You
simply poke a number into a
specific memory location, re-
placing the original variable
with one of your own. In most
cases it gets rid of a paltry
three lives in favor of, well,
lots and lots.
You can either install the
new variable before the game
loads or break into the game
while it's running. The former
involves a listing which is
typed in and loaded before-
hand that interferes with the
game loader. The latter resorts
to cold starting the 64. The sim-
plest way to do this involves
the employment of a special
tool called a metallic station-
ery binding system—or paper
clip, as it's Known over here.
To hot wire a 64 you have to
contact the two pins labeled A
and Con the cartridge expan-
sion slot (as you look at it,
they're on the bottom row, first
on the right and the next but
one along). The 64 will reset to
the blue boot-up screen. If you
have a 128, hold the Commo-
dore key down so you can en-
ter said POKE.
For instance, if you have
that old Broderbund title,
Stealth, reset the machine,
type POKE 30590,173, press
Return, then type SYS 53055.
You'll now have an infinite sup-
ply of Stealth craft at your dis-
posal. (NOTE: Brave 64 own-
ers who dare to try this at
home do so at their own risk.
Don't blame us if you hit the
wrong pin and blow a fuse!)
Steve Jarratt is the editor of
Commodore Format, the best-
selling 64-specitic magazine
in the U.K. (and probably all
of Europe). He can be
reached in care of his maga-
zine at Future Publishing, 30
Monmouth Street, Bath, Avon
BA1 2BW, England. a)
MACHINE LANGUAGE
Jim Butterfield
PROGRAMS,
CONSTANTS,
VARIABLES
Programs consist of code; con-
stant values or strings; and the
variables that count, add, sub-
tract, buffer, or whatever. The
first two parts rarely change.
Generally, you'll find that
program code comes first,
then constants, and finally var-
iables. Programs and con-
stants are usually close to
each other. If they are widely
separated, you would need ei-
ther two separate loads or a
lot of “dead bytes” between
the two. Some programmers
leave a small amount of
space between the program
code and the area set aside
for constants to fit in late pro-
gram changes (or patches).
Variables can sit anywhere
in memory. There's no reason
to put them in any particular
place, as long as variables are
kept far from code and con-
stants. The contents of this ar-
ea are not loaded from disk.
Since you won't know what's
in the variable space when the
program starts, it’s important
to initialize such variables by
putting data in before you
take data out.
Most programmers try not
to mix constant values and pro-
gram code. Keeping them sep-
arate makes it easier to disas-
semble code. When constants
are mixed in with code, the
disassembler tries to read the
constants as if they were in-
structions. Also, since pro-
gram branches can reach on-
ly a limited distance, keeping
all your code together can
make your program more effi-
cient.
Though these are not fixed
and unbreakable rules, organ-
izing your program is in your
best interest. Like all generali-
ties, there are exceptions, but
it's usually the case that neat
programmers are troubled by
fewer bugs than their spaghet-
ti-code cousins.
We'll write a simple pro-
gram here to illustrate this
kind of organization. Program
ECHO will print a title, accept
a line of input, and then print
the line back three times.
A quick first run indicates
that the code will stretch from
about $2000 to $2045. Let's
leave a little space and put our
constant values starting at ad-
dress hex 2050. In this case,
we have only the title, ECHO!,
and the repeat signal
(“ECHO:”). Including the fol-
lowing Return characters,
that's only a dozen bytes.
As | mentioned, finding a lo-
cation for the variables is
much less critical. Although
you have the whole of memo-
ry to choose from, it’s common
to pick anearby location for var-
iables. Perhaps your program
or subroutine will share the
computer with other code, in
which case it’s a good idea to
keep the whole action (code,
constants, and variables) with-
in a bounded area.
In this case, we have a Y-
Save variable—one byte—
and the input buffer which will
hold the message to be ech-
oed. I've picked nearby loca-
tions $2060 and $2068 to
hold these. We might make a
mental note that the input buff-
er area is, say, 80 characters
long. That would make it
reach from $2068 to $20B7.
But since we have no other
variables, we won't need to
count too carefully.
Here's the code:
2000 A2 00 LDX
2002 BD 50 20 LDA
2005 20 D2 FF JSR
2008 E8 INX
2009 EO 06 CPX
200B DO F5 BNE
2000 AO 00~=—sLDY
200F 8C 60 20 STY
2012 20 CF FF JSR
2015 AC 60 20 LDY
#$00
$2050,X
$FFD2
#$06
$2002
#$00
$2060
SFFCF
$2060
2018 99 68 20 STA $2068,Y
201B C8 INY
201¢ C9 OD =©©CMP #$0D
201E DO EF BNE §$200F
2020 20 D2 FF JSR $FFD2
2023 A2 00 LDX #$00
2025 BD 56 20 LDA $2056,X
2028 20 D2 FF JSR $SFFD2
202B E8 INX
202C EO 06 CPX #$06
202E DO F5 BNE $2025
2030 A2 00 LDX #$00
2032 AO 00 LDY #$00
2034 B9 68 20 LDA $2068,Y
2037 20 D2 FF JSR $FFD2
203A C8 INY
203B C9 OD =6©CMP #$0D
203D DO F5 BNE $2034
203F E8 INX
2040 E0 03 CPX #$03
2042 DO EE BNE $2032
2044 60 RTS
The program needs to be fol-
lowed by the constants. In
this case, the two strings
used by the program. There's
a little empty space before
our constants appear. Remem-
ber that these are DATA val-
ues: don’t try to assemble
them!
2050 45 43 48 4F 21 OD 45 43
2058 48 4F 3A OD
Here's the BASIC version:
100 DATA 162,0,189,80,32,32,
210,255,232,224,6,208,245
110 DATA 160,0,140,96,32,32,
207,255,172,96,32
120 DATA 153,104,32,200,201,13,
208,239,32,210,255,162,0
130 DATA 189,86,32,32,210,
255,232,224,6,208,245
140 DATA 162,0,160,0,185,
104,32,32,210,255,200
150 DATA 201,13,208,245,232,
224,3,208,238,96
160 DATA 0,0,0,0,0,0,0,0,0,0,0
170 DATA 69,67,72,79,33,13,
69,67,72,79,58,13
200 FOR J=8192 TO 8283
210 READ X:T=T+X
220 POKE J,X
230 NEXT J
240 IF T< >10324 THEN STOP
300 SYS 8192
DECEMBER 1991
Neat
programmers
usually put
program code
first in
memory, followed
hy constants,
then variables.
COMPUTE
Tell your
friends and relatives
and socks this year.
G-20
Ask for what
you really want.
GEOS
Steve Vander Ark
ATTENTION,
GEOS SHOPPERS
All right, let’s talk seriously.
When it comes to Christmas,
we don’t put things like dic-
tionaries or underwear on our
lists, right? What we really
want is computer stuff—
GEOS stuff, if possible.
But that's not always easy.
You can’t send people out to
the mall to the GEOS store to
fill your stocking with geoGood-
ies. Most really good software
coming out for GEOS is from
independent programmers
who sell their work themselves
or upload it as shareware to
places like QuantumLink. Un-
less your family is unusually
computer-literate, they won't
have the foggiest idea how to
find GEOS items. It's easier for
them to buy you violet socks
or musical reindeer ties.
Don't despair. There actual-
ly is such a thing as a geo-
Store, and while it’s not at the
mall, it's about as user friendly
as you could want. It's a mail-
order outfit run by a talented
artist named Susan Lamb.
She realized that many
GEOS users don't have ac-
cess to the new and exciting
software that independent pro-
grammers are producing, so
she decided to bridge that
gap. At the same time, she of-
fered her own clip art. If you ha-
ven't seen Lamb Art & Design
clip art before, you owe your-
self a look; the quality will
blow you away.
Lamb got into GEOS early,
beta testing for Berkeley and
demonstrating what geoPaint
could do. She spent some
time as the editor of geoWorld
magazine, editing and writing
many how-to articles. She's
now among the more knowl-
edgeable users of the sys-
tem’s graphics programs.
To share some of this exper-
tise, she’s working on a book
that deals with geoPaint and
COMPUTE DECEMBER 1991
geoPublish. When she was
asked to produce some art-
work for the new GeoWorks En-
semble, she acquired an IBM
computer; now she’s rapidly
becoming addicted _ to
geoDraw, which is included in
Ensemble. More than a draw-
ing program, its text-handling
capabilities place it in the cate-
gory of geoPublish but take
advantage of the added
speed and memory capabili-
ties of the IBM machines.
So, has Susan Lamb aban-
doned Commodore GEOS for
Big Bluer pastures? Not at all.
If anything, her IBM gives her
a new resource for Commo-
dore GEOS graphics. The
wide variety of scanners and
digitizers available at a reason-
able cost for the IBM help her
to create graphics which she
ports to Commodore GEOS.
Using all of these tools, the geo-
Store offers not only clip art
and page templates but also
personal clip art—artwork cre-
ated to order, including origi-
nal art, photos, hand lettering,
logos, and so on.
Besides Lamb's excellent
graphics, geoStore’s catalog
includes some of the best prod-
ucts and services from else-
where in the GEOS communi-
ty. RAM expansion upgrades
are advertised at good prices
from Melvin Montgomery,
(CMDR FIXER on Q-Link). Oth-
er GEOS art is featured in the
geoStore catalog, including
cartoons by Dale Beach and
GeoWorks Ensemble clip art
by Jay Degn. Some of the
more exciting GEOS software
coming out from the independ-
ent programmers is also avail-
able, including geoPrint, a
Print Shop-style application,
and scads of user disks filled
with public domain's best.
The geoStore catalog is the
perfect thing to leave lying
around under the noses of
those who will be buying you
Christmas presents. To get a
copy, write to geoStore, 3575
East County 18th Street,
Yuma, AZ 85365.
All the great Christmas pre-
sents aren't public domain or
shareware, of course. There
are a number of commercial
products which no GEOS afi-
cionado should be without. All
of these are available through
mail-order firms that advertise
in this and other magazines;
many might still be stocked at
places like Electronics Bou-
tique as well. (We'll get your
family into the mall yet!)
Here's a list of some of my fa-
vorites GEOS goodies.
Maverick is a must for any
GEOS user. The GEOS boot-
maker routine allows you to
make your own boot disks for
any kind of drive. And if you've
ever fallen victim to Berkeley's
copy protection trap with a
wrong answer during installa-
tion thereby losing the use of
an application forever, Maver-
ick’s ability to strip the protec-
tion from files will be an an-
swer to your prayer. Added
bonuses are a fast file copier
and a sector editor designed
to read GEOS disks as well as
Commodore-formatted disks.
Graphics Bundle is a collec-
tion of programs from Free Spir-
it now available for one amaz-
ingly low price through Solu-
tions Unlimited. Commodore
graphics come in a wide vari-
ety of formats, of course, and
it takes a little manipulation to
get them into the GEOS envi-
ronment. The software in this
package gives you the tools to
do the necessary conversions
and a program called Graphix
Link to port them into GEOS.
The programs run in native 64
mode, not GEOS, so larger pro-
jects could require excessive
mode-switching unless you
plan ahead a little bit.
Send your GEOS questions to
Steve Vander Ark, in care of
this magazine. He can also be
reached on QuantumLink. His
handle is SteveV14. a)
The Gazette
Producit a
Manager
(Formerly PowerPak)
Harness the productivity
power of your 64 or 128!
Turn your Commodore into
a powerful workhorse, keep track
of finances, generate reports
in a snap, manage your
money in minutes—
all with the new 1991
Gazette Productivity
Manager! Look at all
your 64/128 Productivity
Manager disk contains.
GemCalc 64 & 128—
A complete, powerful, user-
friendly spreadsheet with all
the features you’d expect
in an expensive commercial package
(separate 64 and 128 versions are included).
Most commands can be performed with a single keypress!
Memo Card—Unleashes the power of a full-blown
database without the fuss! Nothing’s easier—it’s a
truly simple computerized address file. Just type in
your data on any one of the index cards. Need to edit?
Just use the standard Commodore editing keys.
Finished? Just save the data to floppy. What could be
easier?
Financial Planner—Answers all of those questions
ORDER YOUR
1991 GAZETTE
PRODUCTIVITY
MANAGER
TODAY!
(MasterCard and Visa accepted on orders with subtotal over $20).
CYES! Please send me __ Productivity Manager disk(s)
($14.95 each).
Subtotal
concerning interest, investments, and money manage-
ment that financial analysts charge big bucks for! You
can plan for your children’s education and know
exactly how much it will cost and how much you need
—___— Sales Tax (Residents of NC and NY please add appro-
priate sales tax for your area. Canadian orders, add
7% goods and services tax.)
_____ Shipping and Handling ($2.00 U.S. and Canada, $3.00
surface mail, $5.00 airmail per disk.)
to save every month to reach your goal. Or, decide
whether to buy or lease a new car. Use the compound
interest and savings function to arrive at accurate
estimates of how your money will work for you.
Compute the answer at the click of a key!
DON’T MISS OUT ON THIS
POWERFUL WORKHORSE!
Total Enclosed
— Check or Money Order — MasterCard W— VISA
Credit Card No.
Signature
(Required)
Daytime Telephone No.
Name
Address
City
State/ zP/
Pr CC repens 1108181 CONE:
Send your order to Gazette 1991 Productivity Manager,
324 W. Wendover Ave., Ste. 200, Greensboro, NC 27408.
Imagine a restaurant
would let you see,
smell, and taste
the food before you
G-22
D'IVERSIONS
ee EE A a ee Se
Fred D'lgnazio
TECHNOLOGY YOU
CAN TASTE
When | was a kid, | used to
work at my dad's Italian restau-
rant near Philadelphia. | was a
dishwasher, short-order chef,
salad boy, busboy, prep chef,
bartender, bread boy, and fi-
nally cashier. My favorite
place to work was the kitchen,
with its baskets of hot garlic
bread, steaming cups of min-
estrone, pasta fagiole, plates
of manicotti, lasagna, spaghet-
ti, and wooden bowls of salad
swimming in Italian dressing.
Food delights my senses. |
can touch it, taste it, and
smell it. |'m happiest when pre-
paring and eating meals. My
unhappiest times are when my
face is stuck in a menu, trying
to decide what food to order.
For me, menus are abstract
places full of words without pic-
tures. And the pictures that
the words conjure up are often
confusing, fuzzy, and wrong.
What I'd like to see is a new
kind of menu—a multimedia
menu with digital sounds, pic-
tures, and movies. The menu
would be a _ computer
touchscreen, with tiny meal
icons and their accompanying
names. You could place your
finger over an icon, and the
meal window would expand to
fill the screen.
You could see animations
that would rotate in three-di-
mensional space, photo-
graphs and drawings, and full-
motion videos of your meal’s
being created. There would
even be stereo sound of its be-
ing prepared and cooked.
What I'm talking about is a
full-blown WYSIWYG menu:
What You See on the menu Is
What You Gobble when your
meal arrives. A meal with no
unpleasant surprises.
This would be a boon for us
lowbrows who find ourselves
in Chinese, Italian, Greek, or
French restaurants unable to
COMPUTE DECEMBER 1991
decipher the menu. With a mul-
timedia menu, we wouldn't
have to speak the language;
we could see images of the
meal before we ordered.
In the 1950s kids were en-
tranced with a new technolog-
ical innovation called Smell-O-
Vision. You hooked the Smell-
O-Vision transformer to your
TV, and when you saw a mov-
ie about the ocean, the device
would waft smells of salt wa-
ter, fish, clams, seagulls, and
drying driftwood across your liv-
ing room. Or if you watched a
documentary about a choco-
late factory, your room would
become saturated with the
heavenly aromas of choco-
late, cocoa, and fudge.
| think we should add Smell-
O-Vision to the menus of the fu-
ture. In addition to offering
images, they could provide aro-
mas as well. When you ask to
look at a meal—let's say egg-
plant parmigiana—a little fan
on the Smell-O-Vision device
would blow the scent of the
meal your way. As you see col-
orful animated images of your
meal, you could sample its de-
lightful aromas as well.
After multimedia menus
and Smell-O-Vision menus be-
came old hat, it would be time
to introduce yet another inno-
vation, virtual reality menus.
When customers sit down ina
restaurant, they could open a
drawer in their table and take
out a pair of menu “reading
glasses,” which would be tiny
stereoscopic computer moni-
tors, and a “Touch-N-Feel”
power glove. They could slip
on the glove and the glasses
and immediately see a door
with the word kitchen above it.
Customers would be in a vir-
tual reality restaurant!
They could point at the
door and feel themselves float-
ing into the kitchen. They
could fly up and down aisles
in the virtual kitchen and point
at the meals being prepared.
If they point at a meal, it
zooms to life-size. Customers
could pick up the plate, rotate
it, smell it, and even touch it
for freshness and texture.
For the ultimately picky cus-
tomer, even the glove and the
glasses may not be enough.
For these people restaurants
would offer a third sensor—a
small wad of plastic that has
the consistency of chewing
gum. Actually the “gum”
would be a cleverly disguised
disposable composite of
timed-release particles. Con-
trolled by the computer, it
would release a taste that
matched the food item that the
customer was previewing.
The gum would also con-
ceal an ingeniously sensitive
strain gauge, a device used to
measure the pressure of the
customer's teeth as he or she
chewed on the plastic sensor.
If the customer chewed a vir-
tual slab of steak, the gum
would become rigid and take
on the consistency of steak; if
the customer ate tender
flakes of broiled flounder, the
gum would simulate the soft-
ness of fresh fish.
After customers sampled
several items by previewing
their virtual counterparts, they
could place an order by sig-
naling the virtual cashier in the
virtual kitchen. Voila! Within min-
utes a real meal would be on
its way to the customer's real
table and real tummy.
The whole system could be-
come so advanced that virtu-
al meals might replace real
meals. Dining out could be-
come so virtually realistic that
preparing real food would be-
come unnecessary.
People who have tight budg-
ets would appreciate this inno-
vation. Virtual meals would be
cheap! Also, a virtual meal
that featured 12 courses of the
most sinful yet scrumptious de-
lights would be calorie free. Di-
eters and weight-loss maniacs
would flock to restaurants that
feature “lite” virtual cuisine. O
BEGINNER BASIC
Larry Cotton
TRIM A TREE
WITH RND
Happy holidays! We'll contin-
ue our investigation of random
numbers and RND this month
by writing a short program
that keeps the seasonal spirit.
The 64’s screen (or the
128's in the 64 mode) consists
of 40 vertical columns by 25
horizontal rows. Each column
or row is one character wide
and one character tall. There-
fore, there are 1000 (40 x 25)
locations for characters on the
screen. Carefully enter the fol-
lowing in immediate mode
and then press Return:
POKE1024,42:POKE1024+54272,1
You should now see a white
asterisk pop into the upper
left corner of your television or
monitor screen. Now try this:
POKE2023,42:POKE2023+54272,1
This should light up an aster-
isk in the lower right corner of
the screen. Memory registers
1024 and 2023 correspond
to the first and last locations
on the screen.
The second POKE ensures
that the character gets a col-
or—in this case white. For
each screen memory register
from 1024 to 2023, there is a
corresponding color memory
register (from 55296 to
56295) which controls the col-
or of the character at that par-
ticular location. Both the mem-
ory register and its correspond-
ing color memory register are
offset by 54272.
The characters that can be
poked to the screen have the
same appearance as the
ones which can be printed
but may use different codes.
For instance, to print a white
asterisk on the screen re-
quires PRINT CHR&$(5)
CHR$(42) or POKE1024,42:
POKE1024+54272,1.
To get a green inverted T
symbol to appear in the
same spot, however, one
would have to use either
PRINT CHR$(30) CHR$(177)
or POKE 1024,113: POKE
1024+54272,5. (Note that
when printing characters on a
screen, the color must come
first; the order doesn’t matter
when poking characters.)
Screen Display Codes and
CHR$ (ASCII) codes for the
64 and 128 are published in
separate appendices in the ap-
propriate User's Guide or Pro-
grammer's Reference Guide.
Another appendix contains
screen and color memory reg-
ister charts.
Now, let's begin the pro-
gram. We'll illustrate how
RND is useful in creating a
graphic display—a twinkling
Christmas tree. | will concen-
trate my explanations in this
lesson on lines that pertain to
the RND statement or to
screen codes.
10 DIML(121)
20 PRINTCHRS(147)
30 POKES3280,0:POKE53281,0
40 C=54272:CH=42:Y=1
50 FORT=0T014:READL
60 FORJ=0TOT:L=L+1:GOSUB150
70 NEXT:NEXT
Notice the 42 in line 40; that's
our screen code for the aster-
isk. The color is the variable
Y. We've set up two nested
FOR-NEXT loops to read in
the screen memory registers.
Let's skip ahead to the data
lines and the subroutine:
130 DATA 1203,1242,1282,1321,
1361 ,1400,1440,1479,1519, 1558,
1598,1637,1677,1716
140 DATA 1756,1804
The above memory registers
correspond to the screen loca-
tions of the Christmas tree's
left edge. The rest of the tree
is drawn by poking locations
offset from these.
If you want to poke some
other picture to the screen,
you can plot screen positions
on a chart like the ones
shown in the Guide's Screen
and Color Memory Map Ap-
pendices. Trial and error of-
ten serve as well.
150 POKEL,CH:POKEL+C,Y
160 K=K+1:L(K)=L
170 RETURN
Line 150 pokes an asterisk
CH to screen location L and
color memory register L + C
(C is the color offset 54272) in
color Y. At the same time, we
fill a one-dimensional array
L(1) to L(120) with all the mem-
ory registers which are used
to draw the tree. You'll see
why in a minute. Now, let's go
back to the program.
One more character, a
green inverted T symbol (the
Christmas tree stand), needs
to be poked to the screen.
80 READL:CH=113:Y=5:GOSUB150
Run the program at this
point. You should see a white
asterisk-studded Christmas
tree perched on a rather
small stand. Now, let’s make
the lights twinkle. Here’s
where RND comes in.
90 K=INT(120*RND(1))+1
100 CO=INT(14*RND(1))+1
110 POKEL(k)+C,CO
120 GOTO90
We want to paint the asterisks
with randomly chosen colors.
Lines 90 and 100 pick ran-
dom numbers from 1 to 120
and from 1 to 14 respectively.
The first is the index to the ar-
ray we loaded in line 160; the
second is the color itself.
Line 110 pokes the random
screen location with random
color. Line 120 causes the pro-
gram to loop indefinitely, giv-
ing the tree the appearance
of being filled with dozens of
colored twinkling lights.
Merry Christmas! i)
DECEMBER 1991 COMPUTE
Poke random
numbers to your TV
or monitor
screen to create
a colorful
holiday decoration.
G-23
Learning a new
computer
language can be
fun—and
you don’t need to
buy a new
computer to do it.
G-24
PROGRAMMER’S PAGE
Randy Thompson
MULTILINGUAL
COMPUTERS
Ask several Commodore 64
and 128 programmers what
computer language they use
the most, and you're likely to
get only two distinct answers:
BASIC and machine lan-
guage. Broaden your poll to in-
clude Amiga, Macintosh, and
MS-DOS programmers, and
suddenly the range of an-
swers fills a page.
Much of the Amiga’s oper-
ating system was written in C.
Combine this with the fact that
there are two excellent C com-
pilers available for that comput-
er, and it's not too surprising
to discover that most Amiga
hackers prefer to work in C.
While the Amiga favors C,
the Macintosh prefers Pascal.
The Macintosh’'s Toolbox (a
set of routines similar to the
64's ROM Kernal) was original-
ly written in Pascal. As a result,
Pascal would probably lead
your Macintosh poll, with C
and then assembly language
following closely behind.
BASIC still has a strong
grip on MS-DOS machines. It
would undoubtedly top the
IBM PC programming poll.
And even though the number
of available languages is
quite large on MS-DOS com-
puters, C would place a
strong second. Pascal and ma-
chine language would come
in third, with FORTRAN, CO-
BOL, and a slew of other an-
cient dialects filling the list.
If you don’t mind adding an-
other page to your poll, you
might take authoring languag-
es as an acceptable answer.
Authoring languages differ
from traditional programming
languages (you get more
done through mouse clicks
than you do with keystrokes),
but the results can be quite sim-
ilar. And it's authoring pro-
grams like HyperCardand Ami-
gaVision that are to blame for
COMPUTE DECEMBER 1991
BASIC's decline in popularity
on the Macintosh and Amiga,
especially now that Amiga Ba-
sic won't run on newer Amigas
and AmigaVision ships free
with each Amiga sold.
Learning a new computer
language can be fun and ex-
citing—and you don’t need to
buy a new computer to do it.
Abacus sells 64 and 128 ver-
sions of COBOL and C, a 64-
only version of FORTRAN, and
a 128-only version of Pascal.
(All of these can be ordered
from the mail-order company
Software Support Internation-
al.) While somewhat limited,
these versions are a way to ex-
periment with some of the lan-
guages that dominate much
of the computing world.
Cis the hottest computer lan-
guage right now, and it's one
of my personal favorites. It has
several BASIC-like com-
mands, but its structure is dif-
ferent. For example, take a sim-
ple FOR loop that prints the
numbers from 1 to 10:
for ( i=1; i<11; i++ )
{printf( ‘‘The number is %d\n”,
i );}
All arguments in a FOR com-
mand must be enclosed in pa-
rentheses. You may also note
the lack of a NEXT instruction.
The end of the FOR loop is de-
noted by the final curly
brace. The first curly brace de-
fines the start of the loop.
Within the parentheses
you'll find three items, each
separated by a semicolon.
The first is an instruction that
you want the computer to ex-
ecute before it enters the
loop for the first time. In this
case, we assign the value 1
to the variable i. The second
item specifies a condition
that must remain true in order
for the loop to repeat (i must
be less than 11). The loop
ends when this test condition
proves false. The third item in
parentheses is an instruction
that the computer executes af-
ter every pass through the
loop. While we could have
used a more familiar looking
i=i+1 instruction, the com-
mand i++ is shorter and does
the same thing. Of course,
i+=1 would also work.
The print command for C is
printf. It looks strange but it’s
flexible. It's a supercharged
PRINT USING command. In
our FOR loop, the %d speci-
fies that we want to print a dec-
imal number at that location
in the print string. The value
we want to print follows the
print string. The \n is printf's
code for a carriage return. To
leave it out would be like add-
ing a semicolon to the end of
a PRINT string in BASIC.
Pascal is much more like
BASIC than C. For example,
a FOR loop in Pascal would
look like this:
for i:=1 to 10 do begin
writeln(‘‘The number is ”, i);
end;
In Pascal, you precede an
equal sign with a colon when
assigning a value to a varia-
ble. The only time you drop
the colon is when you test a
variable’s value, as in if i=10.
The loop instructions are
braced by the statements be-
gin and end. And instead of a
PRINT command, Pascal us-
es writeln. To print something
without forcing a carriage re-
turn, use the shorter version,
write. The optional In stands
for linefeed. Both Pascal and
C use the semicolon to mark
the end of an instruction.
If you'd like to experiment
with a new language, stop by
your library or bookstore and
pick up a book on the topic.
Due to a printing error, the list-
ing for Flood in last month's
“Programmer's Page" was
omitted. You can find it in this
issue on page G-38. mi)
PROGRAMS
128 CONFIGURATION
AID
Bruce M. Bowden
A major concern of 128 programmers,
particularly when writing machine lan-
guage routines, is how to configure the
various memory banking arrangements.
Wrong banking can leave critical RAM
or ROM routines unavailable. The 128
has a configuration register within its
memory management unit for doing
banking. This program, 128 Configura-
tion Aid, makes calculating the config-
uration register value quick and easy.
Banking on the 128
The 128 uses two 64K RAM areas, a
28K BASIC interpreter, a 4K machine
language monitor, a 4K screen editor,
an 8K Kernal, 4K of character patterns,
and another 4K for hardware chip reg-
isters. In addition, the 128 can also sup-
port 64K of cartridge ROM and another
128K of expanded memory. Although
the 128 is capable of dealing with
372K of address space, the’ 8502 micro-
processor can directly access only
64K at a time. How does the 128 do it?
The answer is banking. This means
that only portions (up to 64K) of the en-
tire arrangement are available to the mi-
croprocessor at any one time. The ac-
tual portions seen by the 8502 are
coded by the value which resides in
the configuration register at address
65280 ($FFOO). The value in this regis-
ter has a specific pattern of eight bits,
with different bits corresponding to spe-
cial features of the configuration.
Bit O decides whether the input/
output (1/0) block, RAM, or ROM will
be in place from 53248 to 57343
($D000 to $DFFF). Bit 1 decides wheth-
er low BASIC ROM or RAM resides at
16384-32767 ($4000-$7FFF). Bits 2
and 3 determine whether BASIC and
ML monitor ROM, internal cartridge
ROM, or external cartridge ROM or
RAM appears at memory locations
32768-49151 ($8000-BFFF).
Bits 4 and 5 determine whether Ker-
nal and character ROM, internal car-
tridge ROM, external cartridge ROM,
or RAM appears in the range 49152-
65535 (SCOO0-$FFFF). Bits 6 and 7 de-
termine which RAM block is in use,
ranging in number from 0 to 3.
The program will calculate the com-
bination of bits required for the kind of
arrangement you need and present the
result in decimal, hexadecimal, and bi-
nary notation. This number can then be
poked into the configuration register
found at 65280 ($FFOO).
Typing It In
Written entirely in BASIC, 128 Configu-
ration Aid should be entered with The
Automatic Proofreader. See “Typing
Aids” elsewhere in this section. Be
sure to save a copy of the program to
disk before you run it.
Calculate Configuration
The program runs in either 40- or 80-
column mode. You'll first be asked if
you want the output sent to your print-
er. Press Y or N according to your pref-
erence. You'll then be presented with
the option of either calculating the con-
figuration register value based on the
most suitable banking arrangement or
displaying the banking arrangement
based upon a specific configuration reg-
ister value. For purposes of demonstra-
tion, let’s choose the first option by
pressing the A key.
Let's say we want to run a machine
language program which resides in
RAM 1 and uses the Kernal routines
and |/O, but not BASIC or the charac-
ter set. The first query is where to get
RAM. Unless your system setup has
had some very special custom work
done to it, options C and D are mean-
ingless, so let's select B for RAM 1.
Next we need to decide how the re-
gion from 49152 to 65535 ($C000 to
$FFFF) is banked. This is where Kernal
ROM resides, so we need to press A
to choose system ROM.
We must next make a choice of how
to use the address space from 32768
to 49151 ($8000 to $BFFF). Because
we don't need BASIC, which is choice
Aon the current screen, three choices
remain. Let's just go with RAM, by
pressing key D.
Similarly, the range 16384-32767
($4000-$7FFF), excluding BASIC,
leaves B as our choice on the next
screen. Press the B key.
Finally, at addresses 53248-57343
($DO00-$DFFF), we need to keep 1/O
in place, so select option A.
The report shows that, in order to
achieve the configuration we want, a
decimal value of 78 (1001110 in bina-
ry or 4E in hexadecimal) must be
placed in the configuration register
found at 65280 ($FFOO).
Display Configuration
Let's check out the other option. Run
the program again, and this time
choose option B. This will display the
configuration which results from a spe-
cific value. If you enter 78, you should
see the configuration just selected.
For another example, suppose we in-
put a value of 234. We'd discover that
we're using the high part of expansion
RAM and the entire address space of
external cartridge ROM, that BASIC
isn't engaged, and that the character
ROM is knocked out. This arrangement
corresponds to using the command
BANK 11 from BASIC 7.0.
lf you program in machine lan-
guage, give 128 Configuration Aid a
try. It greatly simplifies the task of man-
aging the 128’s possibilities.
128 CONFIGURATION AID
GD 16 REM COPYRIGHT 1991 — COM
PUTE PUBLICATIONS INTL L
TD - ALL RIGHTS RESERVED
COLOR 6,1:FAST:PRINT CHR
$ (14) CHRS (147) CHRS$ (17) CH
R$(17):RESTORE 120:FOR X
=l1 TO 5:READ NB(X):NEXT:
DIM BE(15,2)
FOR X=l1 TO 4:READ BYTES (
X) :NEXT:FOR X=1 TO 5:FOR
Y=1 TO NB(X)+1:READ BMB
$(X,Y):NEXT:NEXT:FOR X=0
TO 15:READ BE(X,1):READ
BE (X,2) :NEXT
PR=50:MS="THE COMMODORE
{SPACE}128 CONFIGURATION
AID":GOSUB54@
MS="COPYRIGHT 1991":GOSU
B 540:MS="COMPUTE PUBLIC
ATIONS INTERNATIONAL, LT
D.":GOSUB 546
MS="ALL RIGHTS RESERVED"
:GOSUB 540:PRINT:PRINT
PRINT: PRINT:MS="USE COMM
ODORE PRINTER ROUTINE? (
¥ OR N)":GOSUB546
GETKEY M$:PRINT CHRS(147
) CHR$(17)CHRS(17):IF M$=
"y" THEN PR=33:0PEN3,4,7
MS="PLEASE SELECT FROM T
HE OPTIONS BELOW":GOSUB
{SPACE}55@:PRINT:PRINT:M
$="(A) CALCULATE CONFIGU
RATION REGISTER VALUE":G
OSUB55@ a
DECEMBER 1991 COMPUTE
PB 29
MM 3
a
QH 49
QR 5G
FJ 68
sc 78
PC 8
Q
PH 90
G-25
PROGRAMS
XG
PH
CB
PX
HR
BF
HC
FB
CG
EM
QX
CK
G-26
166
116
126
136
146
156
166
176
186
196
280
216
226
236
246
256
266
$="(B) DISPLAY CONFIGU
RARION FROM CONFIGURATI
ON REGISTER VALUE": GOSU
B 559:BITS="":GOSUB 360
:X=VAL (BITS)+1:BITS="":
ON X GOTO 220,396
DATA 4,4,4,2,2,"00","@1
ude NTgt "11","$06060 TO $
FFFE","RAM @ (NORMALLY
{SPACE}USED FOR PROGRAM
sou
DATA "RAM 1 (NORMALLY U
SED FOR BASIC VARIABLE
{SPACE}STORAGE)","FUTUR
E EXPANSION RAM Low", ne
UTURE EXPANSION RAM HIG
H"
DATA"SCGGG TO SFFFE","S
YSTEM ROM", "HIGH INTERN
AL (USER EPROM) ROM","H
IGH EXTERNAL (CARTRIDGE
) ROM", "EXPOSED RAM"
DATA" $8000 TO SBFFE", "S.
YSTEM ROM", "MID INT! INTERNA
L (USER EPROM) ROM","MI
D EXTERNAL (CARTRIDGE)
{SPACE}ROM","EXPOSED RA
mM"
DATA"S$4000 TO $7FFE","S
YSTEM ROM","EXPOSED RAM
"
DATA"SD6GG8 TO S$DFFF","I
/Q DEVICES", "CHARACTER
{SPACE}GENERATOR ROM OR
RAM"
DATA 6,63,1,127,2,191,3
1255,4,22,5,86,6,150,7,
214,8,42,9,106,10,1708,1
1,234,12,6,13,19,14,1,1
5,6
REM CALCULATE CONFIGURA
TION REGISTER VALUE
PRINT CHRS$(147)CHRS (17)
CHRS (17) CHRS$ (17)
FOR XX=l TO 5:M$="PLEAS
E INDICATE YOUR CHOICES
BELOW: ":GOSUB 540:PRIN
T:MS$="THE SPACE FROM "+
BMBS (XX,1)+" WILL CONTA
IN:":GOSUB 54@6:PRINT
FOR YY=l TO NB(XX) :MS=C
HRS (YY+192) +") "+BMBS(X
X,YY+1):GOSUB 549:NEXT:
PRINT: PRINT
MS="WHICH WILL IT BE?":
GOSUB 54@:IF NB(XX)=4 T
HEN GOSUB 31@:ELSE GOSU
B 30G
NEXT:MS="THE VALUE TO B
E PLACED IN THE":GOSUB
{SPACE}540:MS="MEMORY M
ANAGEMENT UNIT CONFIGUR
ATION REGISTER (MMU CR)
IS:":GOSUB 548:PRINT:P
RINT
COMPUTE DECEMBER 1991
HS
DP
RD
RS
QP
JJ
BS
CP
PQ
QH
FA
EK
XG
CB
RJ
DR
RH
DG
RG
DQ
276
288
298
368
3138
328
338
349
3598
360
376
386
390
400
416
420
436
440
456
468
DC=0:M$="BINARY VALUE =
"+BIT$:GOSUB 540:FOR X
=8 TO 7:DC=DC+INT (VAL (M
ID$(BIT$,8-X,1)) *2,X+.5
) NEXT: PRINT :MS="DECIMA
L VALUE = "+STR$ (DC) :GO
SUB 540:PRINT
MS="HEXADECIMAL VALUE =
"+HEX$ (DC) :GOSUB 546:G
0T0486
CS="B":GOSUB 33@6:BITS=B
ITS+RIGHTS (STRS (XZ) ,1):
GOTO 326
CS="D":GOSUB 330:XZ=XZ+
1:BITS=BITS+BYTES (XZ)
PRINT CHRS$(147)CHRS$(17)
CHRS (17) CHRS (17) : RETURN
GETKEY AS:IFAS<"A" OR A
$>CS THEN 33@0:ELSE XZ=A
SC (AS) -65
IF PR=33 THEN MS="*#eeex
**e*" SMS=MS+"{2 SPACES}"
+A$+"{2 SPACES}"+M$:GOS
UB 54@
RETURN
REM CONFIGURATION FROM
{SPACE}REGISTER VALUE
PRINT CHRS(147)CHRS(17)
:MS="PLEASE ENTER THE V
ALUE HELD IN THE CONFIG
URATION REGISTER":GOSUB
54G
MS="(USE A "+CHRS(34)+"
$"+CHRS (34) +" IN FRONT
{SPACE}OF A HEXIDECIMAL
ENTRY.)"
GOSUB 548:PRINT:PRINT:I
NPUT AS$:PRINT CHRS$(147)
CHR$(17):MS="USING THE
{SPACE}VALUE “+AS:GOSUB
540:PRINT
IF LEFTS(AS$,1)="$" THEN
DC=DEC (RIGHTS (AS$,LEN(A
$)-1)):ELSE DC=VAL(AS)
DM=DC:BITS="":DO UNTIL
{SPACE }DM=@:DL=INT (DM/2
) :AS=STRS (2* (DM/2-DL) ) :
BITS=RIGHTS (A$,LEN (AS) -—
1) +BIT$:DM=DL: LOOP
ZRS="GG00GGGG":IF LEN(B
ITS)>8 THEN BITS=RIGHTS
(BIT$,8):ELSE IF LEN(BI
TS)<8 THEN BITS=LEFTS (Z
R$,8-LEN (BITS) )+BITS
FOR XX=1 TO 5 STEP 2:YX
= (1+XX) /2:AS=MIDS (BITS,
XX,2):YY=1:DO UNTIL BYT
ES (YY) =A$:YY=YY+1:LOOP:
MS="THE SPACE FROM "+BM
BS (YX,1)+":":GOSUB 549
MS=BMBS (YX, YY+1) :GOSUB
{SPACE }54@:PRINT:NEXT:F
OR XX=7 TO 8:YX=XX-3:AS$
=MIDS (BITS$,XX,1) : YY=VAL
(A$)+1:MS="THE SPACE FR
BK
JM
FR
470
486
496
508
516
526
536
546
556
566
576
586
596
6093
618
6290
636
OM "+BMBS (YX,1)+":":GOS
UB 540
MS=BMBS (YX, YY+1) :GOSUB
{SPACE}54@:PRINT:NEXT
FOR X=9 TO 15:IF DC=BE(
X,2) THEN MS="THIS CORR
ESPONDS TO BANK"+STRS(B
E(X,1)):GOSUB 546
NEXT: PRINT CHRS$(27)+"G"
+CHRS (7)
IF PR=33 THEN PRINT#3:C
LOSE3
END
REM MESSAGE CENTERING R
OUTINE
IF PR=33 THEN LN=8@:MYS
=M$:GOSUB 59@:PRINT#3,M
$:MS=MYS
IF PEEK(215)=@ THEN BEG
IN
LN=46:SLOW:GOSUB 680:MS
=MYS$:GOSUB 590:PRINTMS
IF MZ$<>" " THEN MS=MZS$
:GOSUB 590:PRINTMS:RETU
RN
BEND: ELSE LN=80:GOSUB 5
906: PRINTMS: RETURN
Y=INT ((LN-LEN (MS) )/2):F
OR X=1 TO Y:MS="" "+MS:N
EXT: RETURN
IF LEN(MS)<4@ THEN MYS=
MS:MZS="" "RETURN
X=36
IF MIDS(MS$,X,1)="_" THE
N MYS=LEFTS (M$,X-1) :MZS$
=RIGHTS (M$,LEN(MS) -X):R
ETURN:ELSE X=X-1:GOT062
G
IF MS="" THEN RETURN:EL
SE PRINTMS$: RETURN
Bruce M. Bowden is Gazette's techni-
cal editor. He lives in Greensboro,
North Carolina.
DESDEMONA
Matt Morgan
Desdemona, also known as Othello or
Reversi, is a popular strategy board
game that uses black and white mark-
ers or disks. Its rules are simple, but its
many possibilities of play make it chal-
lenging and complex. This sophisticated
version features sound effects, sprites,
and redefined multicolor characters.
Desdemona is written in BASIC. To
avoid typing mistakes, use The Automat-
ic Proofreader to type it in. See “Typing
Aids" elsewhere in this section. When
you've finished, save the program to
disk before you run it.
Black and White
When you run Desdemona, the title
screen appears, and then the program
asks for the number of players—O, 1,
and 2 are accepted values. Entering a
O causes the computer to play itself;
this mode is useful when you're learn-
ing the rules of the game and want to
see a demonstration.
The main screen shows an 8 x 8
game board with four playing pieces
(two black disks and two white ones) ar-
ranged symmetrically at the center. If
you are playing against the computer
(one-player mode), you have the white
pieces and the 64 plays black.
Players alternate turns placing piec-
es on the board until every square is
filled or neither player can make a
move. If you cannot make a lega
move, you must pass your turn to your
opponent. Press P to do so.
The object of Desdemona is to
have more pieces on the board at the
end of the game than your opponent
does. Each player has a box on the
screen that shows the number of piec-
es he or she currently has in play
White’s box is on the left; black’s is on
the right. A flashing check mark in one
of the boxes shows whose turn it is.
When it’s your turn, a blue square ap-
pears on one of the board’s squares.
To make a move, use the joystick in
port 1 (port 2 for player 2) to move the
square to the spot where you wish to
place a piece and then press the fire
button. If the move is illegal, the com-
puter will buzz, and you will have to se-
lect another square. You may quit the
game at any time by pressing Q.
To make a legal move, you must
place your piece so that one or more
of your opponent's pieces lie in a
straight line between your new piece
and another of your pieces. When you
enclose your opponent's pieces, the
computer will beep, and the enclosed
pieces will change to your color. You
may enclose pieces in any direction
(up, down, left, right, or diagonally),
and you can make multiple enclosures
with one play. Scores can change dra-
matically with careful play. You may
want to watch the computer play itself
a few times to get the hang of it.
At the end of the game, the winner
is announced, and you are asked if
you want to play again.
Strategy
The computer makes a good oppo-
nent, but an experienced player can
beat it rather easily. Why? Because the
computer uses no strategy; it just choos-
es the move that will get the most piec-
es. The best move is not necessarily
the one that wins the most pieces.
A good Desdemona player goes af-
ter the corner squares because they
can’t be changed. Corner pieces are
the most valuable spots on the board.
Edge squares are next in importance.
They can only be changed in one direc-
tion, and they are unchangeable if con-
nected by a row of your pieces to a cor-
ner square that you occupy.
DESDEMONA
PK 18 POKE56,146:CLR:DIMGB(9,9
) ,DX(7) ,D¥(7) ,P(7)
DEF FN PS(C)=55221+3*X+1
20*Y ’
DEF FN XS(X)=61+xX*24
DEF FN YS(Y)=31+Y¥*24
POKE53281,3: POKE53280,6
POKE5328@,6: PRINTCHRS (14
2)"{CLR}{WHT}{4 DOWN}";
PRINTTAB (5) "{A}CCI
PRINTTAB(5)"B{K} B
{8 SPACES}B
PRINTTAB(5)"B{K} BUCIUCI
UCBUCIUIIUCIUIUCI
PRINTTAB (5) "B{K} BBCKJCI
B BBCKBBBB BBBB B
PRINTTAB (5) "{Z}CCKICKIJCK
JCKICKBBBJCKBBJCJ
119 PRINTTAB(12) "{BLU}{T}
{Y}{UF{RVS} {I} {OF} LY}
{6 UF{YF {PF {OF {1} (OFF}
{Ud {Y}{T}"
PRINTTAB (19) "{DOWN}
{RED}BY MATT MORGAN
{3 DOWN}"
INPUT" {UP}
{1@ SHIFT-SPACE}HOW MAN
Y PLAYERS{2 SPACES}1
{3 LEFT}";AS:IFAS>"2"0R
AS<"@"THEN 125
POKE53276, PEEK (53270)OR
16: POKE53282,7:POKE5328
3,9:C=-1:GOSUB 856
PL=VAL (AS)
POKE53265,11:PRINT"
{CLR}";:FORY=1T025:A=35
839+40*Y:POKEA,160:POKE
A+19456,6:NEXT
PRINTTAB(7)"{8}{OFF} {A}
SALRPAALRIARLREAE CRE SE
{RP**{RP**{RP**LS}"2 FOR
T=1T08:FORU=1T02
PRINTTAB(7)"-{2 SPACES}
-{2 SPACES}-{2 SPACES}-
{2 SPACES}-[2 SPACES}-_
26
38
4G
56
68
65
76
86
98
95
MJ
RP 126
MA 125
DX 138
156
186
QA
AB
AA
196
PA 260
KX
PB
DK
KC
AC
SG
CR
KJ
EA
216
226
236
246
256
266
278
286
296
366
314
326
336
346
356
366
376
389
396
499
416
426
430
44g
456
46G
{2 SPACES}-{2 SPACES}-
{2 SPACES}=" :NEXT
PRINTTAB (7) "{Q}**+**+*%*
FERERHERKEREERE CWE": :IF
T<>8THENPRINT _
NEXT: PRINT" {UP}":PRINTT
AB (7) "{Z}**{EP**LEP**
{E}**{E}**{E}** {LE} ** LE}
**{X} {HOME }"
LS="{DOWN}{7 LEFT}":PRI
NTWSS"{2 LEFT}{2 UP}
{OFF}#{RVS}{5 SPACES}
{OFF}S$"LS"{RVS} WHITE "
L$"{7 SPACES}"LS"{OFF}$
{RVS}{5 SPACES}{OFF}&"
PRINTBSS"{2 LEFT}{2 UP}
{OFF}#{RVS}{5 SPACES}
{OFF}S"LS"{RVS} BLACK "
L$"{7 SPACES}"LS"{OFF}$
{RVS}{5 SPACES} {OFF}&":
POKE36263,122
POKE36235,122:WS=G:BS=G
:X=4:Y=4:C=1:GOSUB67@:Y
=5:C=0:GOSUB67@
X=5:C=1:GOSUB679: Y=4:C=
@:GOSUB67@: PT=1: POKE532
65,27:SX=1:SY=1 :
PRINTWSSWS"{LEFT} "BSSB
S"{LEFT} ":T=WS+BS:IF P
T=l1 THENPRINTWSS"{2 UP}
{RIGHT}"; :GOTO296
PRINTBS$"{2 UP}{RIGHT}"
te
IFT=6 40RT=WSORT =BSORF P=
2ORNT=2THEN56G@
POKE647, PT: POKE264,@6:IF
(PT=GANDPL=1) ORPL=GTHEN
POKEV+21,6:GOSUB499:GOT
0456
POKEV+21,1:J=56321:IFPT
=G8ANDPL=2THENJ=J-1
GOTO429
IF (PEEK (J)AND16) =@THEN4
36
AS=""SGETAS: IFAS="P"THE
NPF=1:GOSUB49@: IFLLTHEN
446
IFAS="P"THEN45@
IFAS="Q"THENPOKEV+21,6:
PRINT: FQ=1:GOTO47@
0=15-(PEEK(J)AND15) : IFO
=OTHEN330
IFO=l1ANDSY>1THENSY=SY-1
IFO=2ANDSY<8THENSY=SY+1
IFO=4ANDSX>1THENSX=SX-1
IFO=8ANDSX<8THENSX=SX+1
POKEV,FN XS (SX) : POKEV+1
7EN YS (SY) :GOTO33@
X=SX:Y=SY:GOSUB746:IFLL
THEN45@
POKESS+1,7: POKESS+4, 33:
FORQ=1T0586:NEXT: POKESS
+4,8:GOTO33G
POKESS+1,99: POKESS+4,17
> FORQ=1T099:NEXT: POKESS
+4,0
IFAS<>"P"THENNT=@:GOSUB
826
DECEMBER 1991
COMPUTE G-27
PROGRAMS
470 PT=1-PT:POKE204,1:POKE3
6203,122:POKE36235,122:
IFFQTHENFQ=G:GOT062G0
GOTO276
BM=@:BX=@:BY=@:QP=2-PT:
A=9:FORX=1T08:FORY=1T08
: IFGB (X,Y) <>QPTHEN54G
Z=X:R=Y:FORQ=.TO7:X=Z+D
X (Q) :Y=R+DY (Q) : IFGB(X,Y
) ORX=AORY=AORX=.ORY=.TH
EN53@
GOSUB74@: IFTT>BMOR (TT=B
MANDRND (1) >.5) THENBM=TT
:BX=X:BY=Y
IFLLANDPFTHENQ=A: Z=A:R=
A: PF=.
NEXT: X=Z:Y=R
NEXT: NEXT: IFBM=@THENAS=
"p":LL=@:NT=NT+1: RETURN
AS="":X=BX:Y=BY:GOSUB74
@:RETURN
POKEV+21,0:WN=1: IFBS>WS
THENWN=@G
IFBS=WSTHENWN=2
ON WN+l GOSUB649
6G
PRINT"{1@ DOWN}ANOTHER
{DOWN} {6 LEFT }GAME?
{DOWN} {5 LEFT} (¥/N)"
GETAS: IFAS<>"N"ANDAS<>"
Y"THEN6GG
IFAS="N"THENSYS64738
POKE49, PEEK (47) : POKESG,
PEEK (48) :DIMGB (9,9) ,DX(
7) ,DY(7),P(7)
POKE65,DL:POKE66,DH:FOR
A=@0T07:READDX (A) ,DY (A):
NEXT: GOTO1@
PRINT" {HOME} {OFF} "TAB (3
3)"{2 DOWN} {BLK}BLACK
{2 DOWN}{5 LEFT}WINS!":
PRINTTAB (32) ; : RETURN
PRINT" {HOME} {OFF}
{2 DOWN} {WHT} {RIGHT } WHI
TE{2 DOWN}{5 LEFT}WINS!
":RETURN
PRINT" {HOME} {OFF}
{2 DOWN}{RED}{3 RIGHT}A
486
496
568
519
526
536
546
556
566
576
586 1658,6
596
686
616
626
636
646
656
666
{2 DOWN}{2 LEFT}TIE{UP}
"TAB(32)"A{2 DOWN}
{2 LEFT}TIE":RETURN
A=FN PS(C) :B=GB(X,Y)-1:
POKEA,C: POKEA+1,C: POKEA
+49,C: POKEA+41,C:A=A-19
456
POKEA, 35: POKEA+1,37:POK
EA+41,38: POKEA+4@,36:GB
(X,Y) =C+1l
IFB=l1THENWS=WS-1L
IFB=@THENBS=BS-1
IFC=1THENWS=WS+1:GOTO73
G
BS=BS+l1
RETURN
TT=0:LL=@: IFGB(X,Y) THEN
RETURN
756 P=PT+1:0=2: IFPTTHENO=PT
766 FORL=@T0O7:P(L)=8:IFGB(X
G-28 COMPUTE DECEMBER 1991
676
688
696
786
716
726
736
PE 746
RS
JF
MB
776
788
798
806
8146
826.
836
846
856
866
876
886
896
966
9196
926
936
946
956
966
976
986
996
+DX(L) , Y+DY (L) ) <>OTHENS8
16
TX=X+DX (L) :TY=Y+DY(L):C
o=G
CO=CO+1:TX=TX+DX (L) : TY=
TY+DY (L) : IFGB(TX,TY) =0T
HEN810
IFGB (TX,TY) =PTHENLL=1:P
(L) =CO: TT=TT+CO: GOTO819d
GOTO78¢
NEXT: RETURN
QX=X: QY=Y:C=PT:GOSUB67G
:FORL=98TO7:IFP(L) =@THEN
846
X=QX: Y=QY:FORT=1TOP(L):
X=X+DX (L) : Y=Y+DY(L):GOS
UB67@:NEXT
NEXT: RETURN
PRINT" {CLR} {N}{BLU}
{1¢ DOWN} "TAB (13) "PLEAS
EReWALiiercrete
FOR X=@8T032:READ J:POKE
49152+X,J:NEXT: POKE5633
4, PEEK (56334) AND254
POKE1, PEEK(1)AND251:SYS
49152: FORT=584T06G7: POK
E40960+T, PEEK (53248+T):
NEXT
FORT=686T0687: POKE4G960
+T, PEEK (53248+T) :NEXT:P
OKE1, PEEK(1)OR4
POKE56334, PEEK (56334)OR
1: POKE56578, PEEK (56578)
OR3
POKE648,14@: PRINT" {CLR}
{BLU}{1@ DOWN}"TAB(13)"
PLEASE WALT 0.0."
POKE56576, (PEEK(56576)A
ND252)OR1: POKE53272,56
FOR T=286T0311:READA: PO
KE40960+T,A:NEXT:FORT=4
3611T04307@0: POKET,255:N
EXT
FORT =43098T04301@: POKET
, @:NEXT:DNS="{DOWN}":RT
S="{RIGHT}":FORT=1T06:D
NS=DNS+DNS:NEXT
WSS="{HOME}"+LEFTS (DNS,
11)+"{2 RIGHT}{RVS}
{WHT }":BSS="{HOME}"+LEF
TS(DNS,12)+"{6 LEFT}
{RVS}{BLK}"
Q=FRE (8) +RND (-TI/37):FO
RT=41936T041943: POKET,2
55: NEXT: V=53248: POKEV+3
9,14
POKEV+27,1: POKE36856,16
@:DL=PEEK (65) :DH=PEEK (6
6) :FORA=0TO7
READDX (A) ,DY(A) :NEXT:SS
=54272:FORT=SSTOSS+23:P
OKET4 @:NEXT: POKESS+24,1
5
POKESS+5,15: POKESS+6,24
6:RETURN
DATA 169,9,133,253,133,
251,169,216,133,252,169
,160,133,254,162,8,166,
i)
1666 DATA 177,251,145,253,1
36,298,249,230,252,238
7254,262,268,246,96,G,
3,15,31
1618 DATA 63,127,127,255,25
5,127,127,63,31,15,3,98
7@,192,246,248,252,254
1254
1628 DATA 255,255,254,254,2
52,248,246,192,0
1938 DATA G,-1,1,-1,1,9,1,1
7G9,1,-1,1,-1,6,-1,-1
Matt Morgan attends college in Texas.
His home is in New Plymouth, Idaho.
SCREEN DUMP 128
Bruce M. Bowden
Get a printout of your 128 text screens
with this handy one-call utility. There ar-
en't any fancy bells or whistles with this
program. It does just one job, but
Screen Dump 128 works with both 80-
column and 40-column screens. A sim-
ple SYS call is all it takes to activate.
Typing It In
creen Dump 128 is written entirely in
BASIC. To help avoid typing errors,
use The Automatic Proofreader to en-
ter it. See “Typing Aids” elsewhere in
this section. Save a copy of the pro-
gram before exiting Proofreader.
Dumping
Load and run Screen Dump 128 as
you would any BASIC program. The
loader places machine code at ad-
dress 4864 ($1300). After the code is
in place, you are then free to run any
other BASIC program.
To obtain a copy of a directory or pro-
gram listing, game results, or any text
that appears on your screen, enter
SYS 4864. This will dump the current
40- or 80-column screen to your Com-
modore-compatible printer.
SCREEN DUMP 128
GD 1@ REM COPYRIGHT 1991 -— COM
PUTE PUBLICATIONS INTL L
TD - ALL RIGHTS RESERVED
HE 26 REM "SCREEN DUMP LOADER
{SPACE}FOR THE COMMODORE
128"
PC 36 REM "THIS ROUTINE, ONCE
{SPACE}ACTIVATED, WILL D
UMP THE CURRENT"
RB
sD
EJ
HE
QA
RF
XH
KJ
AM
JD
MG
FK
HJ
MC
SQ
Jc
AE
EF
QM
QE
RS
XR
XQ
JP
96
166
116
126
138
146
156
166
178
186
196
266
218
226
2368
246
258
268
276
REM "SCREEN TO THE PRINT
ER (DEVICE 4). IT IS ACT
IVATED BY A SYS 4864."
PRINTCHRS (147) CHRS(14)CH
R$ (17)CHRS$(17) "SETTING U
"
RESTORE13@:Y=DEC ("1300")
:IF PEEK(215) THEN FAST
READBS:IF BS="EOF" THEN
{SPACE}SLOW:PRINT"A SYS
{SPACE}4864 WILL RUN THE
SCREEN DUMP":END
IF LEFTS(BS$,1)<>"@" THEN
126
AS=BS:N=@:FOR X=@ TO 15:
READ B$:POKEY+X,DEC(BS):
N=N+DEC (BS) :NEXT
READBS:IF N<>VAL(BS) TH
EN 129
Y=Y+16:GOTO7@
PRINT"THERE IS A DATA E
RROR IN THE LINE BEGINN
ING WITH ";AS:END
DATA @1,A5,D7,F0,03,4C,
3E,13,4C,GF,13,00,00,08
,90,00,AG,1985¢
DATA @2,00,84,FB,A9,04,
85,FC,AG,27,Bl,FB,99,76
,14,88,10,2011
DATA @3,F8,AG,28,20,AB,
13,18,A5,FB,69,28,85,FB
,98,02,E6,2615
DATA @4,FC,A5,FC,C9,87,
DG,EG,A5,FB,C9,E8,D0,DA
,60,A9,00,2849
DATA @5,8D,@E,13,A2,0C,
20,76,13,85,FC,E8,20,76
,13,85,FB,1687
DATA @6,A9,00,8D,@D,13,
26,8E,13,A5,FF,AC,@D,13
199,76,14,145G
DATA @7,EE,8D,13,C8,C@,
50,D9,ED,20,AB,13,EE,G9E
,13,AD,9E,1867
DATA @8,13,C9,19,90,DB,
60,8E,90,D6,2C,00,D6,1¢
,FB,AD,@1,1759
DATA @9,D6,60,8E,08,D6,
2C,08,D6,10,FB,8D,081,D6
,60,A2,12,1823
DATA @A,A5,FC,206,82,13,
A5,FB,E8,20,82,13,A2,1F
,20,76,13,1789
DATA @B,85,FF,E6,FB,A5,
FB,DG@,G2,E6,FC,69,88,B9
176,14,C9,2733
DATA @C,20,DG9,63,88,D9,
F6,C8,A9,FF,99,76,14,A2
,90,8E,GA, 2062
DATA @D,13,8E,@B,13,A9,
66,8D,0C,13,AE,@A,13,BD
,76,14,C9,1263
DATA @E,FF,D@,03,4C,35,
14,C9,88,96,0C,C9,FE,BO
,98,AG0,BB, 2086
DATA @F,8C,@C,13,18,29,
7E,C9,22,D0,02,A9,27,C9
,20,BG,06,1431
GJ 286 DATA @G,18,69,46,4C,@1,
14,C9,41,98,67,C9,7F,BG
,93,18,69,1343
DATA @H,80,AC,8C,13,CG,
BB,DG,1E,AE,0B,13,8D,@B
713,A9,12,1516
DATA @1,9D,C7,14,E8,AD,
6B,13,9D,C7,14,E8,A9,92
,9D,C7,14,2118
DATA @J,8E,0B,13,4C,2C,
14,AE,0B,13,9D,C7,14,EE
,9A,13,EE,1397
DATA @K,@B,13,4C,C4,13,
AE, 9B,13,9D,C7,14,A9,9G6
,8D,0A,13,1248
DATA @L,A9,@3,A2,04,AG,
07,20,BA,FF,A9,96,20,BD
7FF,A9,80,1792
DATA @M,A2,90,20,68,FF,
28,CG0,FF,A2,93,28,C9,FF
,AE,0A,13,1888
DATA @N,BD,C7,14,C9,FF,
FO,06,20,D2,FF,E8,D0,F3
7A9,0D,26,2584
DATA @0,D2,FF,26,CC,FF,
66,006,008 ,08,90,00,68,88
,98,60,86,1652
378 DATA EOF
DC 296
JR 386
HB 310
AM 326
CF 336
JX 346
PF 356
AC 3698
CH
Bruce M. Bowden is a programmer at
COMPUTE Publications. He lives in
Greensboro, North Carolina.
CHECKER COMMAND
Michael Sedlezky
Checker Commands a solitaire strategy
board game for the 64 that is similar to
checkers. Instead of red and black
disks as pieces, however, the program us-
es heavily-armed hoverjets. They are an-
imated and have appropriate sound ef-
fects. This is not your grandfather's
game. A joystick for port 2 is required.
Typing It In
Checker Command is written entirely in
machine language, but loads and
runs like a BASIC program. The pro-
gram uses sprites, customized charac-
ters, and an interrupt timer. To enter it,
use MLX, our machine language entry
program; see “Typing Aids” elsewhere
in this section. When MLX prompts, re-
spond with the following values.
Starting address: 0801
Ending address: 1918
Be sure to save a copy of the program
before you exit MLX.
Playing the Game
Checker Command rules are similar to
those used in checkers, but with a few
twists. There are two levels of difficulty
to allow for training and for playing
against a serious opponent. You'll find
play at the advanced level is intense be-
cause the computer's only objective is
to win, and it seldom strays from that
path of action.
To start the game, load the program
and type RUN. When the title screen ap-
pears, press the space bar if you wish
to play the easy level or press the joys-
tick fire button for the advanced ver-
sion. Both versions follow the same
rules, but the computer doesn't try as
hard to beat you on the easy level.
You command a fleet of 12 yellow
hoverjets, and your mission is stop the
enemy from breaching your defenses.
You want to move forward, capturing
as many pieces as you can, while block-
ing the enemy's determined advance.
Playing the game is simple. Just fol-
low the onscreen commands, and
make your moves with your joystick.
Place the square highlighter on the
piece you wish to move and press the
fire button. This action will make your
game piece come to life. If you
change your mind and select another
piece, just highlight the same square
and press the fire button again. The on-
screen command will turn green if the
move is a legal one. The computer will
not allow any illegal moves.
Once you have selected a piece to
move, you must set its destination. High-
light the target square and press the
fire button. Pieces move diagonally for-
ward one square at a time. If you en-
counter an enemy piece with an emp-
ty space on its other side, you don’t
just jump it as you would in checkers;
you engage the enemy jet in battle.
The 64 handles the action for you.
Unlike checkers, Checker Com-
mand allows only one jump per turn.
Jumps are mandatory, though. If one
of your pieces has the opportunity to
jump an opponent and you elect not
to, you'll be penalized by having your
jet destroyed.
After you make a move, the 64
takes over. You must sit and bite your
nails as it tries to outwit you. The com-
puter is good. It never misses an oppor-
tunity to have a good fight, but it
DECEMBER 1991 COMPUTE G-29
PROGRAMS
avoids a conflict whenever possible by | 68F9:60 6G 66 GG BB BB 47 BB 98 | GB29:8G BG GB 20 BG 8G 4B BG G5
sticking to its main objective. That ob- pogscaa as ag ae oe 88 68 BG A3 ee on 88 68 GG BB 7 Hy 47
SAE ce : E 86 G8 2E BC | 6B39: 88 GB G6 2B DD
ENS cette AE _|@911:00 G6 GE 40 GG GE 40 GO 2F | GB41:00 GG BB GO BO BO 26 8G 18
_ our pleces MOve up the screen UN- | gg19:6— 49 G2 AA AG G2 AA AG 6G | GB49:GG BG GB G2 G8 BB GG EG Al
til they reach the top row; then they | g921:dA AA A8 GA A6 AS G5 AG 21 | GB51:08 G8 GG CG G4 10 62 BO SE
may attack in the opposite direction. | 6929:94 66 64 GG G6 GB GB BG GE | GB59:G4 B64 G2 15 BG 1G G4 42 BE
They ay move back cow the boar | Ss3eca0 8 Sa Qe ee ee 47 gs 9 | seacee 20 Ze Gs os Sn UD U0 0
; H D :
MARL Sie ls SS Hess Malls 6941:86 68 G6 GO GO GB GB GO 53 | GB71:80 GO GB G8 6G GG GG BG 4c
y Peooeu ae 6949:30 66 GG GG BG GB GG GO 5B | GB79:86 GB GB BG GB GO 47 22 40
that can move down has an indicator | g951:98 a6 GG 26 GG G6 FG G2 65 | GB81:40 26 BG G1 G2 G3 66 88 15
dot in its center. 6959:9B E@ GA AF 8G 1A AE 4G B7 | @B89:84 O8 40 26 8G 32 14 G5 E7
Ther are five game crcing scene | geaced Qk ak ef ap 2 90 eo 03 | ensacel oe 64 Ai fe 20 14 Ge oe
j | in ji j : AA @ 2A 86 B99: F
ars ELSE SEEor baka MREnETTBEIG 6971:6A G6 GG G5 GO GB BB GBB DB | GBA1:GH 41 G4 G4 G1 G2 G1 10 EA
Apis 6979:08 G6 GB GB GO GG 47 BO 1A | GBAI:G4 84 GB 4G GB GC G2 10 2B
to move. Likewise, you lose if all your | g981:00 g@ 60 GG GO BG GB GG 93 | GBB1:26 GB GG 40 40 GO G8 B8 FS
jets are destroyed or are unable to | 6989:906 G@ GB 66 GO GG G6 8H 88 | GBB9:GG BG BG GB BB BG 47 G4 62
move. Finally, the last—and most frus- eco ke aa as 4 ae ap ES % ba GBC1:9G 60 84 44 62 BG GB 1B 64
trating—ending is when just one of th : GBC9:61 46 G6 16 64 46 G6 GG 92
petted jets sling by shir detenese ahd OORT UG AR RSAGAL Be 800A AS) Ce PEDIC Cees cl8) Oo nds 19 F9
69A9:86 GA 94 GB GA 86 BB G6 29 | BBDI:28 G4 G4 BG BB GG GB BB 85
reaches the bottom row of the check- | g9p1:a6 64 G6 G6 GG GB BG GO 84 | GBE1:86 40 G4 G4 G1 BG G1 10 23
erboard. This signifies a breach of | 6989:¢6 66 G@ GB GB GG 47 GO 5A | GBE9:G4 G4 BG 40 86 GO GO 16 1B
your defenses and is the most humili- | 69C1:86 66 GG 6G 66 GG BB BB D3 | GBF1:G6 GB GG 4G 46 GB GB OO GE
sing way youcan ose agame, || S3cr.ge a0 24 68 88 An oo €1 Of | Sc0ise8 G0 0 60 68 SF G0 60 19
: , : CO1:00 G6 GB BB GG BB BB BG 19
joes arene See G9D9:AA GG G1 6A GB G2 6A 4G 25 | GCO9:G0 GB GB GB GO GO GB 44 65
2 G9E1:6A AE 46 GA AF 88 1A AB AC | 6C11:48 GG G4 BB BB 11 GB BG BE
erage game lasts between 10 and 15 | @9£9:c@ 1A 5A EG 64 16 AG GG DD | Gc19:44 GG GG 40 40 GO G4 BG 41
minutes, but there is no time limit. The | @9F1:68 68 G8 GG 86 GB GB BG BE | gc21:46 BB GB GB BB BB GB BG 39
timer stops when the game ends. Light- aber oe ag Z a rs an bd ae GC29:88 BB GB BB BB GB GB BG 41
3 : GC31:08 GB BB GB BB BB GB BB 49
y tap the fre purton to restart the | gag9:0 gd 99 Gd 96 Gd GO Gd 1D | 6c39:00 Gd GO GG GO OB 47 OO DF
g y play again. GA11:60 G6 G4 6G G5 A6 94 GA 9B | gc41:A9 FF 85 FE 85 FC 8D 15 1F
tat ell 2219246 AB GA AA AB G2 AA AG DS | Gc49:DG AD D2 85 FF AD 22 85 57
CHECKER Skee COMMANC GA21:62 AA AG G2 GE 68 GB GE 78 | gC51:FD AG OB 8C GE DC AY 33 C3
GA29:46 68 6E 46 BB 2E BB GB E7 | gC59:85 G1 Bl FE 91 FC C6 FC AS
68G1:6C 68 G1 9E 20 33 31 46 | GA31:2E 6B GB G8 BB BB BB GBB EC | gGC61:C6 FE DO F6 C6 FD C6 FF El
0809:33 37 @@ 20 08 GG GG GG 8G | GA39:GG B8 GB GB BB GG 47 GBB DD | gc69:A5 FF C9 CF DG EC AQ 37 4F
G811:00 GG GG BG GG GB GB GO 21 | GA41:66 GB GG GB GG GB BB GBB 55 | gc71:85 G1 AO Gl 8D BE DC AQ DI
G819:08 GB GG 18 GB GG 3C GB 23 | BA49:60 GB GB GG 5G GG BB 6G 46 | gc79:18 8D 18 DG A2 64 BD 1E 51
6821:0G 18 G0 GG GO GG BG GG 37 | BA51:66 GB 68 GG GG AB BB GB 15 | gc8l:6D 9D B7 21 CA DG F7 AQ AD
6829:G0 GB GB GG BB GB GG BB 39 | BA5I:AA 46 GO 69 40 G1 AD 8G 43 | GC89:93 26 D2 FF AO BB 8D 26 82
0831:06 GB GB GB GB GB GB GG 41 | GA61:G1 BA AG G2 FA A8 G3 EA 44 | gc91:DG 8D 21 DG 8D 35 CD 8D 11
6839:98 68 GG BB GB BD G7 BG 57 | BAG9:A9 B3 AA AD BA 96 B4 GB BD | gC99:36 CD A2 GF 8E G8 CD BD 73
6841:00 GG GG GG GB GB BG BB 51 | GA71:16 BB GB GB GG GO BB GB 8D | gcal:77 BD 9D 74 BS BD 87 GD EE
G849:00 GG GG GB GB GG BB 6A C3 | BA79:GGB GH GB GB BB GB 47 GB 1C | gcA9:9D EC G5 AX G7 9D 74 DY 78
6851:40 62 6E 6G G2 AE AG G2 E3 | GA81:96 GBB BG GB BG BG GG BB 95 | gcB1:9D EC D9 AD BB 9D BH GB 28
@859:AE AG G2 AA AG G2 AA AG DE | GA89:GGB BH GB GB BB 9B GB G2 El | gcR9:8D BB CD 8D 99 CD 8D BB DB
6861:01 AA 98 GB 66 40 GG BG E2 | GAI1:986 BG G2 AG BB 16 AB BB D1 | gccl:cD 8D 26 DG CA 16 DB AD EB
6869:08 GG GG GB GB GB GB GB 79 | GAN9:2A AG G2 AA AGB 2B FA 94 12 | gcc9:9B DC 29 18 FO GF 20 E4 28
6871:06 GG GB GB GB GG GB GG 81 | GAA1L:2B FA 94 G2 AA AGB BB 2A BE | gcpl:FF C9 246 DG F2 AO Gl 8D 3B
6879:08 GB GB GB GB BB 47 GB 18 | GAAI:AG BB 16 AG BB G2 AG BB 24 | gcp9:54 CD 4C E6 BC AD BB BD 1C
8881:06 GG GG GG GB GB GB BG 91 | GAB1:G2 98 GG GG 9G BB GG GB GF | gck1:54 CD 26 DA GD 26 D5 GE EB
8889:0G5 GG GG BG G8 GB GB GB El | GABI:GG 66 GB GG BB GB 47 BB SC | gcE9:A9 E5 8D 1C DG AD G9 8D 9B
6891:06 GG 6E 40 G2 6E 62 G2 FF | GAC1:G8 GB GB GG BG BB BB GB DS | gcFi:25 DG 26 EE GD A2 G6 BD 8G
6899:AA AG G2 AA AG G2 AA AG 15 | GACI:GG BB GB G8 GG BG GA 84 F6 | gcF9:77 GD 9D 21 G4 BD 7F GD F9
@8A1:02 AA AG G2 AA AG BO 6A D3 | GAD1:0G G2 ED AD G2 FA AY G2 BF | gpgl:9D 49 G4 AD BB 9D 6G CD 5C
G8A9:40 GO G4 GB GB GG GG GG 5A | BADI:BE AY Bl AE AB BB 6A 6G 3D | gng9:9D 21 DB 9D 49 DB CA 1G 82
68B1:06 G6 GB GB GB GB BB GB Cl | GAE1:GG 6A 56 GG 2A 8G GG 2A 18 | gpll:E6 24 9C 13 20 9A GF 2G 15
G8B9:906 GO GB GB GB GG 47 GO 58 | GAEI:8G6 BB 2A GH BG 2A BB GG 2C | gp19:DA BD 4c 41 BC AA 55 AA El
G8C1:08 GB GB GG BG GB GB GO El | GAF1:18 GB BB 14 BG GG GB BB 53 | gp21:55 AA 55 AA 55 AA 55 AA 9G
G8C9:G6 G8 GB GB G8 GB GG 2E 4A | GAFI:GB GB BB GG BB BG 47 BB SC | gp29:55 AA 55 AA 55 AA 55 AA 98
@8D1:40 GO 2E GG GG 6E 40 G2 E3 | BG1:06 BG GB GG BB BG GB BB 17 | gp31:55 AA 55 AA 55 AA GO 1F 6A
@8D9:AE AG G2 AA AG GA AA A 7F | 9BG9I:GG BG BG GG GG GG BB G8 27 | gn39:3F 3F 3F 3F 1F OB GG F8 9G
@8E1:GA AA A8 GA AA A8 Gl A6 F7 | GB11:66 B2 26 26 6G BB 8B G2 BB | gn41:FC FC FC FC F8 GG 66 1F 6F
G8E9:98 GG G4 GB GB GB BG GG C2 | GB19:3B BG G1 22 18 BB 22 GB D3 | gn49:3F 3F 3F 3F 1F GG GG FS AG
G8F1:98 GG GG GB GE GB GB GG G2 | GB21:G8 A2 8G G2 BE BB G1 2B AG | gp51:FC FC FC FC F8 G6 GG 1F 7F
G-30 COMPUTE DECEMBER 1991
6D59:3F
@D61:FC
9D69:3F
OD71:FC
9D79:85
6D81:8D
GD89:26
GD91:64
6D99:88
GDA1: OF
G@DA9:61
GDB1:A9
GDB9:88
@DC1: 23
@DC9:9D
@DD1:DA
GDD9:66
@DE1:AD
GDE9: G1
ODF1:FF
ODE9: G2
GEG1:CF
GEG9:AD
GE11:10
GE19:61
GE21:16
GE29:G2
GE31:63
GE39:28
GE41:FF
GE49:CD
GES1:FF
GE59:CB
GE61:80
GE69:GE
6E71:CB
GE79:A9
GE81:961
GE89:CG
GE91:64
GE99:17
GEA1:91
GEA9:FA
GEB1:6D
GEBI:16
GEC1:FE
GEC9:FD
GED1:CF
GED9:CD
GEE1:85
GEE9:8D
GEF1:99
GEF9:CA
GFO1:FE
OFO9:FE
GF11:85
GF19:49
GF21:C8
GF29:69
6F31:69
GF39:85
OF41:6B
GF49:9G
GF51:B5
OF59:A9
OF61:A2
OF69:9D
GF71:CB
GF79:FG
@F81:AD
GF89:G3
OF91:14
GF99:66
@FA1:AD
GFA9: G6
OFB1:16
GFBS: 36
GFC1:FF
GFC9:CE
OFD1:A9
GFD9:A2
G@FE1:DG
GFE9: 66
GFF1:61
GFF9: GF
1961:9C
1969:9D
1011:9C
1019:GA
1621:BD
1929:85
1631:91
1839:69
1041:85
1649:26
1951:A9
1659:29
1961:987
1969:83
1671:86
1979:88
1681:1¢6
1989:106
1991:96
1699:AA
1GA1:EG
16A9:DE
16B1:9A
19B9:4C
16C1:DGg
16C9: 96
19D1:29
16D9:69
1GE1:29
1GE9:A9
16P1:DG
16F9:29
1191:19
1199:@D
1111:6D
1119:6F
1121:2¢6
1129:2¢6
1131:1¢8
1139:26
1141:98
1149:19
1151:14
1159:14
1161:19
1169:28
1171:95
1179311
1181:8¢
1189:8¢
LUST CC
1199:16
11A1:BD
11A9:FG
11B1:8D
11B9: 68
11C1:99
11C9:CD
11D1:99
11D9:CD
11E1:69
11E9:CD
11P1:F@
11F9:8D
1261:F@
1209:C9
1211:6A
1219:CD
1221:F6
1229:C9
1231:69
1239:CD
1241:8D
1249: 66
1251:69
1259:CD
1261:8D
1269:AD
1271:F@
1279:61
1281:4C
1289:8D
1291:CC
1299:968
12A1:66
12A9: 86
12B1:26
12B9:3¢
12C1:CB
12C9:AD
12D1:CD
12D9: 42
12E1:66
12E9:64
12F1:31
12F9:3E
1361:8D
1369:CD
1311:@D
1319:AD
1321:AD
1329:96D
1331:65
1339:96
1341:66
1349:A9
1351:C9
1359:CD
1361:4C
1369:BD
1371:CA
1379:4C
1381:CD
1389:1E
1391:D¢d
1399:98D
13A1:8D
13A9:8D
13B1:A9
13B9:AD
13C1:AD
13C9: 29
13D1:16
13D9:9¢6
13E1:C6
DECEMBER 1991
CD D@ 16
F@ @9 AD
8D @4 CC
F@ 25 AD
8D 61 CC
68 CB CD
69 CD C9
CD 18 69
69 CD C9
CD 18 69
8D 62 CC
66 CB CD
69 CD C9
CD 18 69
8D 96 CC
F@ 2D AD
C9 46 BB
6B CC AA
CD DG 14
F@ OD AD
C9 49 BG
4A CD D@
65 AD 26
8D 66 CC
cc 8D 95
FF 8D 62
86 CC 8D
8D 31 CD
AE 31 CD
CD D@ SF
CB 8D 1C
67 BO 66
CD AA BD
61 8D 32
36 CD AD
98 29 G3
12 A9 FF
D@ A2 G3
8D 41 CD
CD AQ 61
CD BD 88
16 El CE
AG 6D 20
29 16 DB
12 CD F@
OD FO G3
CD C9 88
LCECDACS
8D 1C CD
CD 9D 8¢
CD AD 1l
A9 61 8D
GE 8D 66
8A 16 A2
66 CD FG
GF 8D 66
11 CD AD
BD 68 CC
CD BD 96
8D 96 CD
68 8D 26
3B CD A9
21 8D 33
CD 28 93
63 4C 8B
F8 20 49
EE 6D 20
AD 12 CD
26 95 17
14 AD 3E
COMPUTE
PROGRAMS
13E9:FG9 68 AD 3B CD D@ 63 26 CB| 1619:BD 4E 17 9D @@ D4 CA 16 6D | 1849:GA D4 C9 25 FO GF EE FA DB
13F1:7B 15 AG® BD 26 A3 BD AG 4A] 1621:F7 66 28 17 16 AY 13 8D El | 1851:07 EE FC @7 CE 85 DG EE EB
13F9:14 A9 BE 8D 66 CD 29 BE 95] 1629:17 D4 A9 1F 8D 18 D4 28 D3 | 1859:99 Do 4c 42 18 26 89 16 5A
1461:6D A9 61 8D 26 CD AY BG CE! 1631:89 16 AO 41 8D G4 D4 AE C5 | 1861:AD FA G7 CD 21 CD FG G9 1G
1469:8D 3D CD 8D 3B CD 8D 3E 44/ 1639:60 CD 8E 45 CD BD 8@ CB 31 | 1869:EE FA @7 EE FC @7 4C SE 9A
1411:CD A9 25 8D 33 CD A9 21 4D] 1641:8D 47 CD BD @@ CB 8D @D F2 | 1871:18 AD 1F CD 8D 26 CD 26 82
1419:8D 39 CD 29 93 12 AD 32 84] 1649:CD A9 21 8D F8 67 8D F9 BC | 1879:24 17 A9 FC 8D @D D4 AO 7A
1421:CD D@ 63 4C 9B 14 AD 35 47] 1651:07 BD 48 CB 8D GE CD 8D @3 | 1881:86 8D @B D4 26 89 16 AQ Gl
1429:CD 36 F8 AD 3E CD F@ 2A 73 | 1659:27 D@ AS BB 9D BB CB 9D A4 | 1889:81 8D GB D4 AQ 1l 8D 17 5@
1431:8D 1D CD AD 43 CD 8D 1l 79] 1661:48 CB 8D 28 D@ BD @@ CA 1D | 1891:D4 AY G1 8D 2A DO BD 21 6G
1439:CD AD 3F CD 8D 98 CD 28 A@| 1669:8D @1 DB 8D 63 DB BD 4G A6 | 1899:cD AQ 26 8D FB G87 AD Gl 5G
1441:23 16 26 EE @D 26 99 16 A5| 1671:CA 8D @@ DO 8D G2 DG 6G EY | 18A1:DB 69 G2 8D B7 DG AD GB 84
1449:AD 41 CD 8D 68 CD AD 44 62 | 1679:A9 @5 8D 106 CD 4C 8E 16 41 | 18A9:D@ 8D G6 DG 2G 79 16 EE 75
1451:CD 8D 1E CD 28 AD 14 4C 98 | 1681:A9 GF 8D 18 CD 4C 8E 16 CB | 18B1:21 CD AD 21 CD 8D @8 D4 37
1459:81 14 4C BA 14 A9 @@ 8D 51] 1689:A9 46 8D 1@ CD CE GF CD 64 | 18B9:AD 67 D@ CD G5 DG FG 21 E7
1461:1D CD AD 42 CD 8D 11 CD F9| 1691:D@ FB CE 18 CD D@ F6 60 FF | 18C1:BO G6 EE G7 DG 4C CC 18 83
1469:AD 46 CD 8D @@ CD 26 23 A5 | 1699:26 89 16 EE F8 67 EE F9 A5 | 18C9:CE @7 D@ AD G6 DB CD G4 2B
1471:16 26 EE @D 26 99 16 AD 9C | 16A1:67 AD F8 67 C9 24 DG FO BD | 18D1:DG FG D9 BO B6 EE G6 DB BS
1479:38 CD 8D 88 CD 26 AD 14 3D | 16A9:A9 81 8D G4 D4 A2 G4 AB D6 | 18D9:4C AD 18 CE G6 DG 4C AD 45
1481:AD @8 CD C9 38 BG 63 4C AD | 16B1:63 20 89 16 C8 C8 8C Gl 7D | 18E1:18 AQ Gl 8D G8 D4 AOD 8G EB
1489:9C 13 AG 14 26 A3 BD AG 64 | 16B9:D4 EE G3 DG CE G1 DG CA 6G | 18E9:8D OB D4 AY BG 8D G6 DG EB
1491:22 A9 GA 8D G6 CD 28 BE B5 | 16C1:1@ EF 6@ A9 G2 8D 15 CD D6 | 18F1:8D G8 D@ AY 2C 8D FA G7 34
1499:8D 66 AG 14 26 A3 BD AG FF | 16C9:26 81 16 CE 15 CD A9 GE 57 | 18F9:26 89 16 AD FA 87 C9 3G Fl
14A1:1B A9 GA 8D G6 CD 20 BE 42] 16D1:8D @1 D4 AD @1 DG 69 G3 9B | 1981:FG G6 EE FA 87 4C F9 18 36
14A9:GD 4C 9A 14 26 EC 17 28 G3 | 16D9:CD 14 CD D@ @1 66 AD 1B B8 | 1989:A9 GG 8D G4 DO AE 26 CD 5D
14B1:EE @D 26 65 17 26 EE @D 13] 16E1:CD C9 24 F@ G9 EE Gl DG D1 | 1911:DE 35 CD 68 @8 BO GO OG BF
14B9:60 AD 54 CD D@ 48 AY Gl EG | 16E9:EE G3 DG 4C F5 16 CE G1 D3
14C1:8D 4A CD A9 3F 8D 58 CD 36 | 16F1:D8 CE 63 D@ AD 23 CD C9 B67
14C9:AE 50 CD BD @@ CB C9 25 DA| 16F9:2A FO 14 EE 9G D@ EE G2 Gc | Michael Sedlezky, the author of Hover-
14D1:D@ 2F 8E 68 CD 20 8B 11 17]|1701:D@ AD 15 CD 18 C2 EE @@ EB Jet (October 1991), lives in Missis-
14D9:A9 G62 8D 42 CD AE @2 CC 27 | 1709:D9 EE 62 DB 4C C4 16 CE 19 ;
sae le aneseeccusnudalcn arasaneae’| 17111ggsDerCREpanne.AD,25;Colagel st oe ooo ee
14E9:AE 58 CD 8E @@ CD 20 8B 23 | 1719:18 AE CE 86 D@ CE 62 DG 6B
14Fl:11 A9 G3 8D 42 CD AE G3 EF | 1721:4C C4 16 AQ 64 8D G1 D4 31
14F9:CC 8E 38 CD BD @@ CB F@ 85 | 1729:26 89 16 AD F8 87 CD 26 47 COUNTRY CAB 5
1501:22 CE 5@ CD 18 C2 AY @@ B5 | 1731:CD FO 14 BG 69 EE F8 67 BD <
15069:8D 4A CD 2@ 93 12 4C SE 24 |1739:EE F9 67 4C 29 17 CE F8 3F | Alain Tremblay
1511:14 AE 58 CD A9 25 9D GG F4 |1741:07 CE F9 97 4C 29 17 AQ 35 | Thepeopleinaremote countryside com-
1519:CB AD 42 CD C9 63 D@ C8 7E |1749:GE 8D G1 D4 60 FF 64 FF 5A munity are looking for a cabdriver. The
1521:4C 02 15 AE G6 CD A9 OO GA 1751:07 86 Cl FC 24 24 28 28 55 | job has a certain appeal, and you de-
1529:9D @@ CB AD 3@ CD 8D @G 4A |1759:2A 26 2A 26 2B 25 29 27 35 id farortt. Winfortunstely.th
1531:CD 29 8B 11 AE @2 CC 3¢ 14 |1761:27 29 25 2B AD 11 cp 29 3B | Clde to apply for it. Unfortunately, there
1539:13 BD GG CB FG GE C9 25 91 |1769:63 AA BD 5D 17 8D 26 CD 4E is another contender for the position, so
1541:FG GA AE @1 CC 36 @5 BD 3B |1771:20 24 17 BD 55 17 8D 1B B4 | the residents must find a way to deter-
1549:08 CB F@ C5 AE 83 CC 38 2C ee BD 2 o gp 22 . a BD mine which of you to hire. They decide
1551:16 AE @3 CC BD 68 CB F@ D5 700 CD 8E D A to put both of you to a test, with the job
1559:GE C9 25 FO GA AE GG CC 88 |1789:8D 14 CD BD 40 CA 8D 53 B4 | AK iA4 to the most reliable cabdriver.
1561:30 @5 BD OG CB F@ AA AE C2 |1791:CD 26 C4 16 AY 24 8D 26 Cl ;
1569:59 CD 8E 49 CD A9 25 9D G62 |1799:CD 26 24 17 A2 G3 8E Gl EB In this one- or two-player game, the
1571:49 CB A9 GG 8D 4A CD 4C 41 |17Al1:D4 20 89 16 CE G3 D@ EE £7 | first player to reach 500 gas points and
1579:5E 14 26 GB 16 AY 41 8D F3 reece Bg ap ae be ep 33 eo He attain a rating of A wins the game. You
1581:0B D4 A9 12 8D 3E CD AE 6C BL:F E B F %
1589:3F CD BD 09 CB FG G3 8E 35 |17B9:62 DB 4c C4 17 CE OG DO B7 ai. Shae Gee 5 ais egal
1591:03 CD AD 9A GD 49 @D 8D C3 |17C1:CE 62 DG CA 10 DB ag 21 @3 | CNOUGN Money fo pay
1599:9A GD 8D @8 D4 8D GA D4 4c |17C9:8D 26 CD 20 24 17 A9 8@ D3 _| Cabdriver's license.
15A1:8D 96 CD A@ 29 26 BE @D 2C |17D1:8D G4 D4 AY BB 8D BB DG G4 E
15A9:28 1B 10 26 EE @D CE 3E 36 |17D9:8D @2 DG AE @@ CD AD GOD F3 Entering the Program
15B1:CD D@ DF A9 40 8D GB D4 BG /17E1:CD 9D @@ CB AD BE CD 9D F9 | Country Cab is written entirely in ma-
15B9:20 23 16 20 EE GD 20 99 97 |17E9:48 CB 60 AD 1D CD D@ Bl D4 | CLing language. To type it in, use MLX,
15C1:16 26 @2 16 A9 FA 8D OD G2 |17F1:66 8D 3B CD AD 11 CD 29 66 SUBIC, ICRP.
15C9:D4 8D OC D4 AQ 2C 8D F8 A2 |17F9:03 AA BD 5D 17 8D 1F CD pc | OUF machine language entry program.
15p1:07 8D F9 G7 AS 3@ 8D 20 DB |1801:BD 61 17 8D 21 CD A9 13 CA | See “Typing Aids” elsewhere in this sec-
15D9:CD A9 81 8D @B D4 A9 GG 5D |1889:8D 17 D4 28 GB 16 AY 21 87 | tion. When MLX prompts, respond
15E1:8D 17 D4 26 24 17 A9 G1 G7 |1811:8D 6B D4 8D FA 67 8D FC 4A | with the following values.
15E9:8D G8 D4 A9 8G 8D @B D4 37 |1819:87 AE 1E CD BD 48 CB 8D 2D
15F1:8D G4 D4 A9 GG 8D BB DG 26 |1821:29 DB BD BB CA EY G3 8D 63 , ;
15F9:8D G2 DO AE 3D CD DE 35 84 |1829:G5 D@ 8D G9 DG BD 40 ca 1B | Starting address: 0801
1641:CD A2 @4 2G 8E 16 CA 14 Bl |1831:8D G4 D@ 8D G8 DB AI BB F2 Ending address: 1CBO0
1649:FA 60 A2 @6 BD 4E 17 9D 72 |1839:8D 2B D@ 9D 68 CB 20 EE 4D
1611:07 D4 CA 19 F7 6G A2 G6 DC |1841:9D 26 89 16 AD FA 87 8D 87 The screen is divided into two halves,
G-32 COMPUTE DECEMBER 1991
a half for each cab. Each player can
drive his or her car freely along roads
and country lanes. The halves are sep-
arated by two lines of text. These lines
provide players with useful information
about their respective ratings, gas
points earned, and fare status.
Only part of the countryside is vis-
ible at a time, and it's very easy to
drive off the road. No harm will come un-
less you run into a fence or a tree at
high speed. You may bog down, how-
ever. Unlike in real traffic, collisions
have no effect at all.
One joystick is required to control
each car. To accelerate, move the
stick forward. Move the stick right or
left to turn, and pull it back to brake. To
shift into reverse gear, bring your car to
a complete stop and press the fire but-
ton. Repeat the process to shift the
cab back into forward gear.
From time to time, potential fares
will appear on the road. A fare’s pres-
ence is indicated by an onscreen
hand. Its thumb points in the direction
in which you're likely to find the waiting
fare. The fare itself will appear on your
screen as a flashing green character.
To pick up a fare, stop your car close
to the flashing character. The fare will
point you toward his or her destination.
The exact spot on the road is marked
by an X, which flashes on your screen
as you drive by. If another customer ap-
pears, feel free to stop. You can pick
up as many as two fares at a time.
Just as you would with human passen-
gers, you'll have to humor you fares to
win their esteem. Some will tell you to
drive slower; others faster. Do as they
say if you want your rating to improve
and earn the job as driver.
They also pay, and you need gas
points to win the game. Drive accord-
ing to your fare's indications and
check his or her mood. Infuriated
fares exasperated by a driver's lack of
compliance will leave without paying.
Some fares are special. Watch out for
a monster that eats cabdrivers who
make him angry. A prison escapee is
a generous fellow, but giving him a
ride is unlawful. Picking him up could
get you in trouble with the sheriff.
There’s also a robber who may
change your fortune for the worse. In
most cases, though, it's best to do ex-
actly as you are told.
Edit Your Maps
Also included Is an optional editor that
allows you to edit, save, and load pre-
viously saved maps so you can
change the game's layout.
Map Editor is written entirely in ma-
chine language. Use MLX again to en-
ter it. When MLX prompts you, respond
with the following values.
Starting address: 2000
Ending address: 2247
Remember to save a copy of the pro-
gram before you exit MLX.
To use Map Editor, load Country
Cab without running it; then load Map
Editor with the ,8,1 extension. Then
type SYS 8192 and press Return.
The screen will clear, and you will
then see a much reduced and approx-
imate representation of the actual map
found in the game.
The map is composed of 12 x 21
“tiles.” Each tile is composed of sever-
al characters to make up roads, trees,
and so on. On the editor’s screen,
each tile is represented by a single
character which roughly depicts its
corresponding tile in the game. There
are 21 such characters. The only char-
acter which may be difficult to deci-
pher is the Commodore club character
(ASCII 120 or Screen Code 88). This fig-
ure represents a forest tile.
Edit from the keyboard. Each tile
character has a corresponding letter list-
ed at the top of the screen. A cursor
helps you to see where your next selec-
tion will be entered. The Home, Del, Re-
turn, and cursor keys work the same
as in BASIC except that the cursor is re-
stricted to the 12 x 21 area. You can
use the space bar instead of the G key
to enter blanks. Press f3 to load a
saved map and f5 to save the one you
are currently editing. In both cases you
will be asked for a filename. After the
load or save, you may resume editing.
To play the game, press f7. Be sure
you have saved it first, or your editing
will be lost. Once a game has started,
you cannot return to the editor.
Any saved map can only be played
after it has been loaded by the map ed-
itor. You cannot substitute your own
map for the original one found in the
game. That would require the game be-
ing rewritten and compiled.
COUNTRY CAB
9861:4B
9869: 32
0811:2¢
G819:G6F
G821:FG
8829:9D
0831:0E
9839:G2
G841:87
0849:4C
0851:2¢
G859:GA
6861:67
6869:DG
O871:FG
9879:07
0881:68
G889:8A
6891:CE
6899:61
G8A1:B4
G@8A9:C8
68B1:68
08B9:5C
G8C1:9B
G8C9:G6
68D1:69
G8D9:92
@8E1:31
G@8E9:4C
G8F1:62
O8F9:FG
6991:82
6909:06
6911:4C
6919-88
6921:A0
09929:16
G931:20
6939:64
6941:20
6949:95
@951:A9
G959:G2
@961:69
6969:18
G971:5F
@979:CB
6981:10
G989:68
G991:8E
$999:AD
99A1:9B
G9A9:E3
69B1:38
G9B9:CO
69C1:4C
69C9:3C
69D1:6C
69D9:G1
G9E1:82
G9E9:DG
G9F1:FB
G9F9:69
GAG1:FF
GAG9:A6
GA11:1¢6
GA19:1E
68
GG
9B
A2
3E
GG
26
28
Ag
26
8D
C6
48
65
G2
D4
Dg
FG
C6
DC
4C
38
56
8A
8D
49
B4
Ag
AG
Dg
94
63
69
BS
98
88
8G
G6
B9
88
E3
SF
4)
29
18
B5
A4
EG
A9
Ag
B5
GG
G8
69
2A
Uh’)
c8
68
G8
G1
29
FA
86
82
99
G4
E3
4C
DECEMBER 1991
GA
04)
14
49
9D
D4
84
1D
cg
c5
36
D3
26
37
FA
26
12
9D
OA
16
26
G2
AG
g9
69
68
6B
CA
62
Bg
16
4c
68
65
AD
4c
FB
FC
1B
64
G8
EC
4C
G2
6B
96
c8
Ag
3c
84
Dg
BS
67
F8
G6
2A
94
G9
FB
26
95
3
4E
55
57
G8
c8
14
G1
86
G3
64
4A
G9
63
88
AA
8D
COMPUTE
36
1l
8B
9D
11
A4
A2
F9
95
E9
4F
B5
67
8A
9D
D4
D4
16
AD
31
69
54
95
49
G8
8F
16
DG
16
36
4a
4c
FG
36
88
16
c8
7E
16
62
G4
41
65
67
96
95
FB
Dg
38
c5
5F
4C
26
GA
88
88
94
19
G1
84
88
95
AA
Ag
6C
88
Ag
96
2E
6B
AB
5E
B6
6C
FS
5c
BE
AC
1c
98
52
CB
2c
5A
oF
66
77
99
54
69
ED
99
‘79
FB
67
17
F4
Da
FB
69
F9
52
7D
G6
cD
63
4c
43
41
B6
G4
9E
27
DD
4A
66
59
EC
D8
34
16
D6
45
43
8B
8B
9B
28
63
7E
A7
81
8F
C2
AD
48
G-33
PROGRAMS
GA21:11 8A 48
G6A29:68 AA 4A
GA31:95 B2 AS
GA39:A9 62 99
G@A41:A9 1E 99
GA49:GE 11 11
GA51:@6A D@ 97
GA59:A2 62 AG
GA61:D6 4D DG
GA69:36 14 E8
G6A71:48 95 48
GA79:CA 8A 4A
GA81:06 FO G4
GA89:CA 16 CF
G@A91:BG 65 A2
GA99:0B 67 C9
GAA1:26 87 GD
GAA9:@63 4C 15
GAB1:16 11 86
GAB9:AA 26 3A
GAC1:26 F7 6D
GAC9:8D FB G3
GAD1:DB 29 OF
GAD9:A8 A5 66
GAE1:A5 62 D@
GAE9:86 9D FC
GAF1:5D @D AQ
GAF9:62 A5 GC
GBG1:68 16 21
6BG9:BD 2A OB
6B11:6B 99 69
9B19:6B 69 6C
@B21:9B 99 6C
@B29:66 FF FF
6B31:32 B9 64
0B39:33 6D 98
GB41:4A 96 21
6B49:59 65 SA
@B51:21 AQ A8
@B59:99 OD Dd
G@B61:FE 87 D@
9B69:A5 57 @5
@B71:B8 G3 4C
6B79:88 D@ AY
@B81:62 18 69
6B89:88 16 A6
6B91:36 F5 BS
9B99:B@ F4 B5
G@BA1:95 GE 99
OBA9:GF 85 28
GBB1:69 @2 99
GBB9:99 GD DG
@BC1:89 OF 85
@BC9:81 53 29
9BD1:53 A9 99
@BD9:2C 45 GC
GBE1:F8 99 68
GBE9:63 D@ 11
OBF1:16 AO BG
G@BF9:AG GF DG
G@CG1:A6 G2 2G
G@CO9:A6 63 95
6C11:83 A2 8@
@C19:B5 88 C9
6C21:4C 46 OF
6C29:A2 FF E8
8C31:BD 86 28
G@C39:AD 33 OC
@C41:A9 22 C8
6C49:6C 91 22
G-34 COMPUTE
26 8A 1l BO
A8 AS 22 E9
23 E9 @5 95
82 88 99 86
6D 66 68 G1
U2eL 2 Lace
A9 @5 8D 47
GG 94 62 94
1A B5 4C 95
D6 46 DG B9
BS 44 95 @2
96 EE E8 98
F6 580 F6 3D
AD DB 64 C9
68 28 87 6D
92 B® G5 A2
AS 86 65 68
GE A2 62 BS
04 8A 4A 95
OF D@ 38 A6
CA CA 16 E7
4C 67 12 AD
65 @C DB 28
FO 07 E8 AG
13) AS, BE99
67 9D FE 987
92 81 53 66
C9 BA BB 32
26 33 @D A6
99 68 DM BD
D@ A6 64 BD
99 6D D@ BD
DG 88 88 16
68 68 7A 32
@G FO 51 48
4A AA 68 398
A5 4E 16 @A
C9 @3 AY 61
99 6C D@ AI
AS 64 69 BA
23 A5 4C 16
58 C9 63 AY
5D @C AQ AB
32 99 69 DG
BB 9D FC 67
66 A2 64 CA
Sila Loe Doe?
4C 10 F@ AY
6F @@ AD BG
8A 4A AA 86
66 86 99 69
69 83 85 23
22 98 AA AQ
5D 8D AY 93
85 26 AD 12
29 GF C9 BB
6G 84 63 A8
A6 62 BS 6B
95 6B 26 19
6B CO G2 DB
19 @C AG G2
63 26 24 GC
86 BC 4C 88
@1 BO 62 85
A9 27 8D 33
D@ 83 EE 33
DG F5 88 16
8D 4E OC AB
E8 D@ G3 EE
BD 86 28 DG
DECEMBER 1991
6C51:A9
6C59:1F
6C61:88
6C69:99
6C71:85
6C79:B6
8C81:63
9C89:D6
GC91:62
9C99:85
GCA1:@2
G@CA9:A9
6CB1:96
@CB9:E9
@CC1:A9
6CC9:85
O@CD1:AG
@CD9: 22
GCE1:D@
G@CE9:A4
OCF1:61
O@CF9:85
6DG1:6C
@DG9:AD
8D11:C9
@D19:1A
6@D21:5F
6@D29:G1
0D31:61
@D39:B5
9D41:16
0D49:B5
0D51:62
@D59:CA
6D61:D4
@D69:AD
6D71:C9
@D79:95
@D81:A9
@D89:C9
@D91:1B
@D99:1B
@DA1:E4
@DA9:CO
@DB1:A5
@DB9:CD
@DC1:95
@DC9:5F
@DD1:4C
@DD9:BG
@DE1:85
G@DE9:G2
ODF1:D4
ODF9:94
GEG1:4A
GE09:0F
GE11:63
GE19:B5
GE21:C9
GE29:38
GE31:EB
GE39:86
GE41:A9
GE49:16
GE51:5C
GE59:GA
GE61:85
GE69:EG
GE71:92
GE79:8A
91
68
G2
99
AA
BD
1A
12
69
62
Ul)
6D
63
FB
6D
1B
22
91
48
BS
6D
13
AG
2D
F4
65
SF
G1
62
69
FF
66
95
66
8D
95
F9
53
12
68
6
1B
G9
G2
16
G2
c5
cg
6B
61
18
A8
99
GE
@5
AG
F3
B3
7A
c9
A2
GE
SC
E9
5C
37
79
63
DG
AA
Ag
63
99
Dg
AG
6D
28
16
18
26
OF
64
0G
4A
18
85
89
c8
46
cg
GA
24
26
DC
F8
32
5A
83
6G
F9
57
54
36
81
D4
AD
DG
AG
68
11
12
BS
64
FF
OF
FF
Ag
96
6c
5B
67
81
D4
94
23
4c
1E
66
65
96
85
G3
B9
49
CA
38
GE
69
9D
c3
26
ile
66
85
81
38
EG
G4
65
D8
98
95
38
De
69
22
OF
Ce
OF
65
BO
6C
24
29
9A
1)
5A
G1
95
53
36
Uh)
62
8D
98
1B
Bg
Da
85
GE
GE
4C
36
95
4A
75
6
B6
c9
66
8A
99
AG
64
B9
24
16
96
AS
G4
G4
AG
G4
FF
CA
FS
26
tke
72
GE
co
4c
66
26
53
F9
69
A6
28
A6
G2
6D
c8
64
65
98
85
26
68
BG
F9
A6
6c
lF
4c
68
64
64
62
66
62
16
CA
12
AA
D4
F5
E8
22
6D
2D
36
DD
FB
B9
3c
95
BS
46
2A
F@
6B
FF
8A
89
6C
AS
G4
B4
cg
AG
61
G3
EE
GA
37
62
9D
6G
38
GE81:E5
GE89:7C
GE91:62
GE99:G0
GEA1:14
GEA9:9D
GEB1:DGd
GEB9:14
GEC1:A8
GEC9:75
@ED1:44
GED9:G2
GEE1:64
GEE9:A8
GEF1:DG
GEF9:49
GEG1:60
GFG9:GG
GF11:9D
GF19:86
GF21:46
OF29:E0
GF31:66
GF39:3A
OF41:89
GF49:CA
OF51:84
GF59:F8
GF61:84
GF69:24
GF71:36
GF79:C8
OF81:28
OF89:E8
GF91:8E
GF99:G0
GFA1:16
GFA9:84
GFB1:24
OFBI:19
OFC1:F3
GFC9:24
OFD1:05
OFD9:10
OFE1:36
GFE9: G2
OFF1:C6
GFF9:B2
1961:B3
1989:C8
1911:85
1619:85
1621:6¢6
1629:A8
1931:F6
1639:D6
1641:A2
1949:9¢
1951:94
1059:A4
1961:84
1969:85
1971:9¢6
1679:A6
1981:85
1689:85
1691:A9
1699:91
16A1:D@
1GA9:85
83
9D
96
68
38
UI)
29
69
c8
5C
95
95
BO
B9
62
95
G4
64
DF
28
OF
65
1E
AQ
GF
Dd
25
18
68
88
91
AQ
91
16
F9
26
CA
A2
26
EG
26
18
AS
CA
16
E6
62
99
6G
DG
62
22
85
29
B2
B2
62
66
23
23
38
3A
F9
B3
BS
25
AG
24
EE
G3
63
DG
14
18
BD
F7
DG
54
F8
Ag
ce
BO
98
48
65
95
G2
64
FA
A2
32
CA
G7
85
65
8G
GG
25
69
4A
1g
Dd
co
G1
AG
B5
Ag
84
6G
C6
GF
A2
3E
46
GA
20
AG
1g
E8
66
23
A2
18
98
68
CA
B3
G4
EE
6D
39
Dg
A5
86
ll
24
62
E6
ye)
B9
69
66
13
6B
GE
16
6B
c8
18
95
96
co
67
49
95
66
G4
58
26
26
9D
F4
13
BD
7E
84
85
91
91
69
D8
Ag
68
CA
A2
61
AG
86
63
DG
A6
AG
6
26
98
FE
Bl
E6
22
6B
26
Ag
37
64
5
E3
46
67
22
37
25
A8
48
68
40
96
84
CA
15
11
19B1:8D
16B9:16
16C1:FF
198C9:BD
19D1:6B
16D9:CG
1GE1:C6
19E9:E8
1GF1:C6
1GF9:A9
1161:85
1199:A2
1111:98
1119:9C
1121:C6
1129:AA
1131:66
11392357
1141:94
1149:96
1151:36
1159:84
1161:96
1169:7E
1171:8A
1179:64
1181:EF
1189:6¢
1191:AG
1199:88
11A1:C6
11A9: 06
11B1:B9
11B9:0A
11C1:6¢6
11C93 9E
11D1:DD
11D9:98
11E1:6¢
11E9:96
11F1:CA
11F9: 66
1261: 66
1269: 00
1211:FF
1219:A9
1221:14
1229:1F
1231:D¢
1239:96
1241:9D
1249:1B
1251:61
1259:FB
1261:FG
1269:B4
1271:16
1279:88
1281:B9
1289:04
1291:28
1299:BG
12A1:6C
12A9:C9
12B1:Cc9
12B9:4C
12C1: 63
12C09:1¢
12D1:D6
12D9:A8
B9
AS
Ag
FG
16
G4
Fl
FG
GA
24
23
G4
G4
c8
EA
Dd
11
Uy’)
EG
G4
69
84
8A
15
c8
AG
DG
26
22
E6
23
G4
2c
2D
2D
2D
Ag
DG
1)
G2
Ag
Vi)
0G
21
93
15
7E
12
67
66
CA
GB
GA
0)
F3
16
66
18
85
86
62
63
CA
GE
G7
A6
Da
62
2A
95
12E1:69
12E9:16
12F1:@6D
12F9:65
1361:6C
1399: 93
1311:BD
1319:97
1321:63
1329:D5
1331:A2
1339:18
1341:905
1349:C8
1351:D¢d
1359:C8
1361:2F
1369:GA
1371:63
1379:Dd
1381:13
1389:DG
1391:A6
1399:99
13A1:68
13A9:36
13B1:4C
13B9:99
13C1:F¢
13C9:A9
13D1:A2
13D9:69
13E1:D¢
13E9:5B
13F1:A2
13F9:55
1461:A9
1469:9C
1411:86
1419: 987
1421:A6
1429:A5
1431:CD
1439: 46
1441:A7
1449: 29
1451:37
1459:8E
1461:DG
1469:81
1471:B9
1479:D@
1481:96
1489:B9
1491:54
1499: 90
14A1:85
14A9:6¢
14B1:22
14B9:D@d
14C1:C8
14C09: 63
14D1:F¢
14D9:34
14E1:D0
14E9:15
14F1:22
14F9:24
1591:C8
1599:G6
1511:A9
1519:15
1521:22
1529: 66
1531:96
1539:AA
1541:55
1549:C6
1551:18
1559:C2
1561:92
1569: 23
1571:15
1579: 2F
1581:34
1589:36
1591:34
1599:468
15A1:C@
15A9: 89
15B1:35
15B9: 33
LSC 23:7.
15C9: 46
15D1:C2
15D9:92
15E1:A9
15E9:86
15F1:BD
15F9:86
1601:2¢8
1609:EE
1611:1E
1619:1B
1621:62
1629:67
1631:CF
1639: 23
1641:4A
1649:2D
1651:D¢6
1659:C9
1661:69
1669:88
1671:E8
1679:9¢8
1681:66
1689: 3C
1691:43
1699:98
16A1:54
16A9:F@
16B1:0A
16B9:FG
16C1:99
16C9:4F
16D1:5E
16D9:99
16E1:5E
16E9:99
16F1:4F
16F9:5¢6
1761:Bl
1709: 46
77
1719:71
1721:CE
1729:GA
1731:68
1739:48
DECEMBER 1991
26
63
61
65
E@
85
91
DG
24
B7
B9
85
FF
36
31
35
49
ca
8G
31
2E
36
46
62
c2
Ag
A2
85
4A
16
64
85
53
BD
62
27
FA
6E
53
GF
96
26
G2
16
78
FO
FG
84
3c
c4
FO
FG
4B
69
5E
69
4F
99
4F
5E
69
56
1c
71
71
71
FO
09
FO
F@
COMPUTE
G-35
PROGRAMS
1741:4B F@ 54 SF GC AF 36 4B 9C|1971:63 83 80 64 84 80 67 7D G8 | 1BAl:9A 61 64 73 GG 73 9C G4 4c
1749:F@ 54 SF 67 41 CF 68 41 FB/1979:44 GC GB GG OB GA GG 16 AG | 1BA9:73 AS 44 A2 26 39 G7 7C AG
1751:CF @9 41 CF OA 41 CF @B CE|1981:F6 66 G8 8C GB G7 84 GG 1E | 1BB1:D5 A7 47 9D 97 11 29 D9 AC
1759:41 B@ FG GB 45 GF GA 4D EA| 1989:60 78 FB GA CO GG G3 26 26 | 1BB9:42 94 33 52 99 CD DF FF 85
1761:506 46 7F 66 4E 56 46 7F 59|1991:60 64 10 OG G8 G8 GB 7F AG | 1BC1:FF FF 6C 9A 41 D2 71 A7 GF
1769:G5 4F 64 56 46 7F G4 4F FA|1999:44 G6 56 82 GG 88 42 G1 A7 | 1BC9:9D A7 AO 49 A2 91 GB 22 10
1771:05 50 46 7E 4F 66 56 46 66|19A1:74 44 G6 42 48 G8 81 56 BO | 1BD1:67 79 A2 90 GO GO 44 GG FF
1779:7D 4F 67 50 46 74 F@ G8 GE|19A9:1F 82 60 28 45 80 44 39 88 | 1BD9:04 99 99 98 88 G4 46 33 3D
1781:58 46 7F 69 56 46 F@ GA 71/19B1:66 42 26 GG 25 28 GB 18 1B | 1BE1:37 44 82 55 55 54 63 37 64
1789:56 4F @B 58 Bl C4 1C D4 C7] 19B9:DG GG GB 6G GB G4 8G GG 6C | 1BE9:44 3A 42 37 G1 44 G3 37 E2
1791:1C E4 CE 4C E4 CE 4C E4 85/19C1:63 FB GE 36 GG GO C8 GG CA | 1BF1:00 23 34 43 44 43 63 33 D4
1799:CE 4C E4 CE 4C E4 BE 4C 8B |19C9:17 64 GG 1F G4 GO E8 C2 2F | 1BF9:3A 47 37 GG 23 GO 34 40 C7
17A1:E4 CE 4C E4 CE 4C E4 CE GE | 19D1:63 3C 42 1C C2 21 7D G3 37 | 1CG1:33 37 44 G3 33 37 44 34 8C
17A9:4C E4 CE 4C D4 3C 43 C3 B7 | 19D9:21 93 G1 4E 88 87 BG 88 D2 | 1CG9:G3 40 3A 42 3G 43 23 GG 13
17B1:BF 3C 4B F@ 30 4F GC AB C9/19E1:F8 CO 54 A7 GG 63 38 GG C3 |1C1l:34 43 GB 34 G3 74 G3 G4 6B
17B9:F@ OB 43 FG GA 43 CF 69 AG|19£9:21 CO BG 16 BB BG GB FB 4A | 1C19:36 36 G3 44 36 43 44 23 54
17C1:43 CF 68 43 CF 67 43 BF 9B|19F1:1C @2 OG 7F FF FE 8E 8B 4F | 1C21:33 A4 43 63 G8 34 43 46 4c
17C9:6B 52 FG GA 52 9F G9 52 46 |19F9:83 89 FC 41 89 G2 21 F9 94 | 1C29:34 44 23 A4 44 75 23 3A B3
17D1:98 FG G8 52 98 4F 67 52 11/1AG1:02 21 89 G2 21 89 FC 41 3A | 1C31:44 34 43 74 40 30 GO 48° 53
17D9:98 D4 FO 66 52 98 E4 F@ B7/1AG9:8E 8B 83 7F FF FE FB 1A DD | 1C39:14 88 G4 G3 G4 23 33 33 72
17E1:65 52 98 F@ G4 4F 64 52 61] 1A11:AA GG G2 AA GG G2 AA GB E2 | 1C41:38 89 33 24 46 33 A4 BO ES
17E9:98 FO G5 4E 52 98 FO G6 G3 | 1A19:62 AA BO G2 FE GG G2 FE 14 | 1C49:G0 G4 G4 GG GB GO GG G4 47
17F1:4D 52 98 FG G7 45 29 8F AC} 1A21:00 G3 C3 80 63 AB 80 G3 61 | 1C51:44 GG 2E BD EA 3C CA 95 C@
Teele ae 98 F@ G9 4B GG G4 54 /1A29:AB 86 G3 AB 86 G3 AB 80 56 | 1C59:6C DB D6 BA 49 BB 3F 7D 7A
: 5 1D 15 15 65 G5 G1 43 | 1a31:¢2 BE GO G2 FE OG G2 FE 3D | 1C61:BD B2 BF @2 E5 2D B2 D7 SE
1899:01 46 46 586 58 D4 54 54 AD | 1Aa39:G0 G2 AA GO G2 AA GG G2 FF | 1C69:64 Fl 6D 27 AB BF ED 7F 28
1811:55 G1 G1 95 65 15 1D 15 68 | 1A41:AA OG GG AA FB GC 2A GG D9 | 1C71:5D AQ 2F DE E3 D5 FF 9D AA
1819:55 55 54 54 54 58 58 46 DD /1A49:¢6 2A AG GO 2A AG GG 2A 1A | 1C79:DB EQ 4F AF 67 98 79 65 D4
1821:48 57 55 55 55 75 55 55 C7 | 1A51:AG GG 3F AG OG FF 8G GG C8 | 1C81:55 2D 29 AD 4B 51 3F FE CC
1829:55 18 18 18 18 7E 3C 18 D9 | 1A59:C3 86 GG AB 86 G3 AB 86 32 | 1C89:ED 5B 7B DS F3 81 E3 84 4E
1831:08 AS A5 A9 AY 9A 5A 56 DC} 1A61:63 AB GO G3 AB OG BG CF SF | 1C91:1E 22 96 D9 1F 9B 78 Al BY
1839:D6 75 55 55 5D 55 55 95 B2 | 1A69:00 63 FF @@ GA FE @@ GA B4 | 1C99:E2 D8 DF 9E C6 FC Dl C7 F4
1841:95 5A 5A 6A 6A A6 A5 95 93 /1A71:A8 6@ GA AB BB GG AB FB 13 | 1CA1:E5 84 36 24 7C BO OF 7F 8G
1849:97 55 55 D5 5D 55 55 56 E3]1A79:16 88 6G G2 AG GB GA AG AF | 1CA9:F3 EB FE 28 GO GO BO GB BB
1851:76 55 75 55 AA AA 65 67 48 | 1A81:00 68 AS GG 3F ABS GO FF 67
1859:55 59 59 D9 59 59 79 59 CF | 1A89:E8 @@ CB E8 93 EB E@ GF D2
1861:59 57 AD 5B DF F7 7F 56 B3|1A91:AA EG GC aB CG 2F AB GG Ao | MAP EDITOR
1869:FD 7F B5 FD DF 7D EB EF CB /1A99;:2B EF @@ 2B F8 @@ 2A FO 1F
1871:F5 57 F5 55 DS 55 75 D5 4B | 1AA1:66 GA BG BG GA 8G BO G2 C2 | 2060:A9 2C 8D 14 G8 BD 38 16 FF
1879:D5 57 7F 7F 5D 55 75 55 D2 | 1AA9:86 FB 13 20 @@ GB AB GBB D2 | 2068:20 DD 15 AY 8G 8D 8A G2 5E
1881:55 77 FD FF D9 56 75 55 62 | 1AB1:09 A8 OG 3F 28 GG C3 E8 B5 | 2918:28 CB 29 AY BC 8D 21 DO 9B
1889:55 57 55 D5 D5 75 55 55 C6 | 1AB9:03 28 EA 93 A8 EA AC AA FB | 2918:8D 26 DG 28 74 21 29 E4 96
1891:55 66 46 44 55 G5 65 64 85 | 1AC1:E@ AF AS 8G AF GF GG 2B 54 | 2620:FF A4 D3 AA DG GF AS A2 SF
1899:15 GG 44 44 16 18 44 44 AE | laco:FE 98 28 CO GG 2A GO OB 37 | 2628:29 16 FO GF 86 A2 Bl Dl G4
18A1:68 CO 66 GB FO BG BB 78 G2 | 1An1:¢8 FB 24 A3 FF A8 AF G3 CC | 2030:49 86 4C 39 26 Bl D1 29 E6
18A9:66 CO 1E G1 86 GF G3 86 A4 |1AD9:EA AF AB EA GF AB EA AF 490 | 2638:7F 91 Dl 8A C9 86 FO 66 38
18B1:87 83 69 OB E7 66 1D DF 59 | 1ag1:AB EA AF @3 EA A3 FF A8 5B | 2640:C9 87 FG 6D C9 88 DG GB 59
18B9:68 2E BF 98 77 7F 80 3A 61 | 1AB9:FB 16 FB @@ G6 2A EQ D4 A2 | 2648:A2 GG 1E CF 29 E8 DO FA 24
18C1:FE 06 D9 FE 68 E7 FC 68 36 |jAF1:6B 2D OD 74 12 DO 42 26 7c | 2650:4C BE G8 C9 93 DG G5 26 El
18C9:5F FA 96 3F F7 6G 1F FF 5A | 1aAF9:B9 76 66 EG 97 99 CF Dl 96 | 2658:CB 28 DG 1B C9 91 FO 14 DC
18D1:86 07 FF CO 68 FF CO 6B 91 |1391:A2 2c GG 14 22 D1 CD A4 6D | 2966:C9 9D FO 18 C9 55 BO GF 26
18D9:3F 86 96 1E 66 66 BC FB BF | 1899;2D 66 BO 4E 6D 60 A2 D3 EE | 2068:C9 28 98 G8 DG B2 AY 47 51
18E1:64 CG 6B G1 86 BG G3 848 DE | 1B11:79 Dg DB @9 AC G4 4E G6 FB | 2670:29 1F G9 40 26 D2 FF 38 B6
18E9:83 83 G8 GB A7 88 1D DF 84 | 1B819:97 CD G9 2D A4 2D B@ C9 3F | 2078:20 FG FF E@ O5 BO G2 A2 A4
18F1:06 2E BF 68 77 7F 86 3A 99 | 1B21:98 A4 15 ED 97 D2 62 93 El | 2680:95 EG 11 9G G2 A2 186 CG 22
18F9:FE 6@ D9 FE @@ E7 FC 68 6E | 1B29:27 1C EG B4 GA DO DY 43 EB | 2988:9B BG G2 AG OB 98 29 1F FG
1991:5F FA 66 3F F7 @6 1F FF 93 | 1B31:4A E@ 29 42 2D 77 FD 1A 6B | 2690:A8 18 29 FG FF 28 OD 21 F9
1969:86 07 FF C®@ 6G FF C® GB CA | 1839:22 CO 4D 32 26 D9 AY B7 76 | 2698:Bl 22 29 7F 9D CF 29 26 F5
1911:3F 88 66 1E 68 OG GC FB F8 |1B41:32 69 67 BD 27 B7 FD 86 36 | 2GAG:1F 21 DO F4 FO 22 20 34 AG
1919:6B 61 FF 68 83 G1 8B G2 38 | 1B49:2G 92 62 94 B2 D3 G9 A2 57 | 2GA8:21 AO BB 29 D5 FF 4C C5 F2
1921:68 86 62 GG 88 G2 7C 86 39 | 1B51:9F D8 62 G9 20 B4 29 2D BD | 20B0:20 20 34 21 A9 CF 85 22 5B
1929:02 82 88 63 G1 88 67 7D D2 | 1B59:99 2D C7 AD 37 47 3F 8G 88 | 29B8:A9 29 85 23 A2 CB AG 2A AA
1931:86 62 C6 8G G3 83 88 G2 2E | 1B61:92 DC 7A Dl 98 DC D7 9D C9 | 26CG:A9 22 2G D8 FF 26 CB 26 28
1939:82 86 G2 82 8G G3 7D 86 CO |1B69:B4 GA FG 42 68 47 3D 29 C2 | 26C8:4C 1E 26 AX 93 26 D2 FF 18
1941:02 82 8G G3 G1 80 G3 FF 65 |1B71:10 82 29 D7 7B FO A4 2D G9 | 2GDG:A9 96 26 D2 FF A2 GG AG 66
1949:86 62 16 88 G2 19 86 Gl 98 | 1B79:67 79 A2 9D 37 29 DG 67 57 | 2GD8:GG 8A 99 28 G4 G9 4G 99 CF
1951:FF FB 69 1F 68 O68 20 E@ B6 | 1B81:5E GC 7A 9D 14 92 29 D4 G5 | 266G:00 G4 C8 C8 CB 51 BO G9 7D
1959:60 46 16 G@ 4G 18 G8 BE BE | 1889:9D 7B 29 G9 AG 9A DG 30 64 | 2GE8:E8 EG 14 DG EC AG 51 DB C2
1961:18 @1 Cl 16 @1 46 AGB Gl 66 | 1—891:47 FO C7 AE 92 DA 42 DB EB | 2GFG:E8 A2 GG 8A 9D GB DS 9D 33
1969:3C AG G3 C2 40 G2 83 46 BF | 18399:47 72 9E G8 62 G9 22 G3 E2 | 29F8:9G D9 9D BB DA E8 DG F4 74
G-36 COMPUTE DECEMBER 1991
2100:2¢0
2108: 208
2116: 6B
2118:23
2129:CG
2128:85
2130:E8
2138:D9
2146:FF
2148:FF
2150:2¢6
2158:6D
2166: 26
2168:BA
2176:4D
2178:61
2186:3A
2188:9B
2196:008
2198:61
21AG: 66
21A8:18
21B0:GF
21B8:67
21CG:EC
21C8:3F
21D: 96
21D8: 90
21E0:FF
21E8:FF
21F0:08
21F8:0F
2200:FG
2288:FC
2216:66
2218:FG
2226:E6
2228:00
2236:098
2238:96
22406:37
Alain Tremblay lives in Sainte-Foy, Que-
bec, Canada. i)
JANUS
Bruce M. Bowden
A 128 with a 1571 or 1581 can load pro-
grams much faster than a 64 or a 128 in
64 mode. With this utility, you can take ad-
vantage of the 128’s speed to load 64 BA-
SIC programs.
Janus is named for the Roman god
with two faces to emphasize the fact that
it uses both 64 and 128 modes to load a
64 program. There are a couple of advan-
tages for operating this way. First, the
128 can load programs very quickly
from a 1571 or 1581 disk drive. Second,
you can save a BASIC program and
make it available to others so that they
needn't be concerned about whether or
not their 128 is in the proper mode when
they try to run it.
Getting Started
Janus Is written entirely in BASIC. To
avoid typing errors, enter the program
with The Automatic Proofreader. See
“Typing Aids” elsewhere in this sec-
tion. When you've finished typing Ja-
nus, be sure to save a copy of the pro-
gram to disk before running it.
How to Use Janus
Remember that the Janus loader must
be loaded and run with your computer
in 128 mode. The loader will then set
up the machine code and prompt you
for a 64 BASIC program name. Should
the program being loaded exceed 90
blocks, Janus will abort with a mes-
sage advising you that the program is
too large for it to handle.
After the 64 program has been suc-
cessfully loaded, a message will ap-
pear saying that the new loader file
may now be saved. Save this new load-
er in the conventional manner, either
by entering SAVE “filename’, 8 or
DSAVE “filename”. The new file can be
loaded into a 64 or 128 and run.
You'll notice a big difference when
you load the new file in 128 mode. It
will take advantage of the 1571's high-
er speed for loading; then the 128 will
switch automatically to 64 mode when
the program runs. If you load the pro-
gram into a 128 in 80-column mode,
you'll be advised to switch to the 40-
column screen and press a key.
JANUS
GD 1@ REM COPYRIGHT 1991 - COM
PUTE PUBLICATIONS INTL L
TD - ALL RIGHTS RESERVED
166 REM "JANUS, A COMMODORE
64 BASIC PROGRAM LOADE
R FOR LOADING FROM BOTH
"
JA
QP 1106 REM "THE COMMODORE 64 A
ND 128 MODES."
PRINTCHRS (147) CHRS$(14)C
HRS (17) CHRS (17) "SETTING
User
RESTORE 22@: Y=DEC ("1306"
):IF PEEK(215) THEN FAS
T
READBS$: IF BS$="EOF" THEN
SLOW:SYS DEC ("1306")
IF LEFTS$(BS$,1)<>"£" AN
D LEFTS$(BS,1)<>"@" THEN
216
AS=BS:N=@:FOR X=@ TO 15
:READ BS$:POKEY+X,DEC (BS
) :N=N+DEC (BS) :NEXT
RJ 149
PE 158
QD 166
JS 178
FH 186
Js
QB
XR
HD
EJ
JG
RM
QB
HG
CH
PQ
SK
Gx
PC
DG
SM
SJ
KK
PA
RB
FF
ac
FP
PC
198
268
216
2298
2308
246
256
268
276
286
296
386
3198
326
338
346
356
366
376
389
396
406
416
426
DECEMBER 1991
READBS$:IF N<>VAL(BS$) TH
EN 2196
Y=Y+16:GOTO16@
PRINT"THERE IS A DATA E
RROR IN THE LINE BEGINN
ING WITH ";AS:END
DATA @1,26,7D,FF,9E,@D,
6D,79,4C,41,43,45,26,54
7 48,45,208,113G8
DATA @2,44,49,53,4B,29,
54,4F,20,42,45,28,55,53
745,44,28,16390
DATA @3,49,4E,54,4F,29,
54,48,45,20,44,49,53,4B
,26,44,52,1984
DATA @4,49,56,45,9D,41,
4E,44,20,45,4E,54,45,52
120,54,48,1854
DATA @5,45,20,63,4F,4D,
4D,4F,44,4F,52,45,28,36
7 34,28,58,1066
DATA @6,52,4F,47,52,41,
4D,20,66,69,6C,65,29,6E
,61,6D,65,1353
DATA @7,2E,9D,9D,86,28,
7E,13,4C,E7,13,09,66,86
,98,096,98,575
DATA @8,00,90,99,95,88,
G6,66,06,00,90,98,98,85
,98,A9,88,169
DATA @9,8D,FD,93,8D,29,
DG,8D,21,D8,29,7D,FF,1C
,5F,9D,9A,2986
DATA @A,80,20,E4,FF,FG,
FB,8D,FE,@3,29,D1,13,99
,16,AE,FD, 2257
DATA @B,63,9D,6A,13,EE,
FD,93,28,D2,FF,AE,FD,93
7E@,11,D0,2155
DATA @C,D8,4C,C2,13,C9,
GD,DG,G1,68,C9,14,D8,D4
,AD,FD,93,2694
DATA @D,F@,C7,CE,FD,83,
20,7D,FF,9D,20,28,9D,9D
,96,4C,89,2061
DATA @E,13,8D,FE,83,18,
C9,29,96,99,E9,5B,B9,G5
,AD,FE,983,1762
DATA @F,38,60,AD,FE,63,
18,60,A9,6A,85,FB,A9,13
785,FC,A9, 2183
DATA @G,GF,A2,48,AG,80,
29,BA,FF,AD,FD,83,A6,FB
7A4,FC,20,2112
DATA @GH,BD,FF,A9,@6,A2,
G1,A9,26,20,D5,FF,8C,11
,12,8C,D8,1991
DATA @1,15,8E,190,12,8E,
CF,15,AD,11,12,85,FC,C9
,88,BG,93,1668
DATA @J,4C,77,14,26,7D,
FF,@D,@D,74,48,45,28,62
761,73,69,1357
DATA @K,63,208,50,52,4F,
47,52,41,4D,20,49,53,29
754,4F,4F,1129
DATA @L,20,4C,4F,4E,47,
20,46,4F,52,26,54,48,45
COMPUTE G-37
PROGRAMS
FA
JE
MJ
XM
XM
BK
XA
MF
EQ
KS
DP
XE
BP
GK
GK
CH
CH
PH
ME
KH
EM
XP
436
446
456
469
476
486
496
569
516
526
536
546
556
566
576
586
596
606
619
626
638
646
720,4C,4F,1943
DATA @M,41,44,45,52,2E,
OD,78,4C,45,41,53,45,28
741,43,43,1048
DATA @N,45,50,54,20,4D,
59,20,41,50,4F,4C,4F,47
749,45,53,1138
DATA @0,2E,0D,9D,68,4C,
69,46,A9,14,85,FC,A9,1C
,85,FE,A9,1548
DATA @P,CC,85,FB,A9,@1,
85,FD,A2,16,A9,9D,26,72
716,A9,G8,1982
DATA @Q,8D,90,FF,298,7D,
FF,GE,9D,0D,79,4F,55,29
,4D,41,59,1396
DATA @R,20,4E,4F,57,28,
53,41,56,45,20,54,48,45
7 20,50,52,1962
DATA @S,4F,47,52,41,4D,
20,49,4E,20,54,48,45,26
,4E,4F,52,1085
DATA @T,4D,41,4C,29,57,
41,59,8D,00,4C,89,48,18
,1C,GA,98,715
DATA @U,8B,20,C2,28,36,
32,29,B2,32,38,28,A7,28
7 9E,37,32,1328
DATA @V,30,34,00,22,1C,
14,60,9E,32,32,34,39,08
,98,60,A9,718
DATA @W,GE,8D,99,FF,A9,
28,8D,86,1D,A9,89,85,FE
7AG,GG,84,1763
DATA @X,FD,A9,1C,85,FC,
A9,E8,85,FB,A2,1D,AG,D2
,20,A7,1D,2469
DATA @Y,A5,D7,F9,78,26,
7D,FF,1C,GE,6D,9D,74,48
749,53,28,1596
DATA @Z,49,53,20,54,48,
45,20,38,39,2D,43,4F,4C
755,4D,4E,1056
DATA £1,20,53,43,52,45
745,4E,20,53,45,54,54,4
9,4E,47,2E,1196
DATA £2,2E,2E,9D,57,48
745,4E,20,59,4F,55,26,4
8,41,56,45,1626
DATA £3,26,41,20,34,39
12D,43,4F,4C,55,4D,4E,2
6,53,43,52,1996
DATA £4,45,45,4E,28,55
,586,2C,9D,58,52,45,53,5
3,20,41,4E,1942
DATA £5,59,20,4B,45,59
720,54,4F,20,43,4F,4E,5
4,49,4E,55,1125
DATA £6,45,2E,9D,99,298
, 5F,FF,20,E4,FF,FG,FB,A
9,006,8D,96,1826
DATA £7,FF,4C,4D,FF,A9
,9C,8D,96,89,A9,86,85,F
E,AG,68,84,1976
DATA £8,FD,A9,@8,85,FC
,A9,E8,85,FB,A2,99,AG,D
2,26,A7,89,2349
JG 658 DATA £9,4C,E2,FC,69,8G
COMPUTE DECEMBER 1991
G-38
SA
SF
QR
FJ
HP
GF
AE
KM
SB
QR
BC
CF
FB
PR
FB
Bruce M. Bowden is a talent with many
660
679
680
699
768
7196
726
736
748
756
766
778
788
796
863
,18,80,C3,C2,CD,38,30,A
9,AE,8D,00,2025
DATA £A,80,8D,02,80,A9
,A7,8D,01,80,8D,03,80,4
C,1F,8,08,1512
DATA £B,00,00,A2,FF,78
,9A,D8,A2,00,8E,16,DG,2
G,A3,FD, 20,1921
DATA £C,50,FD,20,15,EFD
{1}20,5B,FF,58,20,53,E4
,20,BF,E3,A9,2067
DATA £D,98,8D,29,D9,8D
,21{1}D6,A9,5E,85,FB,A9
,80,85,FC,A9,2261
DATA £E,C@,85,FE,A9,@88
,85,FD,A2,80,A0,EA, 28,B
F,80,4C,00,2245
DATA £F,CG,28,42,A6,AD
,1D,80,AA,38,E9,18,8D,1
D,86,18,AC,1763
DATA £G,1C,8@,AD,1E,80
,85,FC,A9,G1,85,FB,85,F
D,A9,08,85,2122
DATA £H,FE,20,61,C@,A9
,08,8D,08,08,A9,08,85,2
C,A9,@1,85,1550
DATA £1,2B,AD,1D,89,85
,2E,85,30,85,32,AD,1C,8
6,85,2D,85,1556
DATA £J,2F,85,31,A4,2E
,26,08,A4,A9,93,20,D2,F
F,A9,GE,8D,1786
DATA £K,86,02,A9,AG,8D
,84,02,85,34,85,38,20,3
3,A5,58,4C,1526
DATA £L,AE,A7,8E,FE, 63
,8C,FD,03,AG,00,B1,FB,9
1,FD,A5,FC,2539
DATA £M,CD,FE,83,D0,98
7A5,FB,CD,FD,8@3,D06,61,6
G,E6,FB,DG,2549
DATA £N,92,E6,FC,E6,FD
,DG,E3,E6,FE,A9,06,F9,D
D,EA,EA,EA, 3218
DATA EOF
faces at COMPUTE magazine. Oo
TYPING AIDS
MLX, our machine language entry program for the
64 and 128, and The Automatic Proofreader are
utilities that help you type in Gazette programs with-
out making mistakes. To make room for more pro-
grams, we no longer include these labor-saving util-
ities in every issue, but they can be found on each
Gazette Disk and are printed in all issues of Ga-
zette through June 1990.
If you don't have access to a back issue or to
one of our disks, write to us, and we'll send you
free copies of both of these handy programs. We'll
also include instructions on how to type in Gazette
programs. Please enclose a self-addressed,
stamped envelope.
Write to Typing Aids, COMPUTE's Gazette,
324 West Wendover Avenue, Suite 200, Greens-
boro, North Carolina 27408.
BUG-SWATTER
In November's “Programmer's Page,’
Randy Thompson featured a short pro-
gram called Flood that had been submit-
ted by Geza Lucz. Due to a printing er-
ror, the listing was omitted from the
column. That listing is printed below.
The object of the game is to build
flood walls that will contain a spreading
body of water (represented by aster-
isks). Move with the cursor keys and
press Return wherever you want to
build a section of wall. Your score is
determined by how quickly and effec-
tively you can accomplish this task. O
POKE 53281,14:PRINT CHR
$(147):POKE 53281,6
DIM A(2960) ,B(299)
B(1)=1:B(2) =-1:B(3) =46:
B(4) =-49
B(29) =1:B(157) =-1:B(145
) =-40:B(17) =48
FOR I=8 TO 39
POKE 1624+1,42:POKE1984
+I,42
POKE 1024+INT(I/1.6) *40
742
POKE 1663+INT(I/1.6) *4@
742
NEXT
FOR W=l TO 2
A(W) =INT (RND (1) *999) +16
24
IF PEEK(A(W))<>32 THEN
{SPACE}29¢
POKE A(W) ,42
NEXT
B=2:A=1:R=32
H=1447: POKEH,102
L=6
FOR I=A TO B
FOR J=l1 TO 4
IF PEEK(A(I)+B(J))<>32
{SPACE}THEN 316
L=L+1:A (B+L) =A(I)+B(J):
POKEA (B+L) ,42
NEXT
GOSUB 379
NEXT
A=B:B=B+L
IF L=@ THEN PRINT"{CLR}
CONGRATULATIONS. YOUR S
CORE IS" 874-B:END
GOTO 26G
GET RS$:RS=RS+" "
IF ASC(R$)=13 THEN R=91
IF PEEK (H+B (ASC (R$) )) <>
32 THEN RETURN
POKE H,R
H=H+B (ASC (RS) )
R=PEEK(H):POKE H,1@2
RETURN
THE AUTOMATIC PROOFREADER
Philip |. Nelson
The Automatic Proofreader helps you
type in program listings for the 128 and
64 and prevents nearly every kind of
typing mistake.
Type in Proofreader exactly as list-
ed. Because the program can't check
itself, type carefully to avoid mistakes.
Don't omit any lines, even if they con-
tain unusual commands. After you've fin-
ished, save a copy before running it.
Next, type RUN and press Return. Af-
ter the program displays the message
Proofreader Active, you're ready to
type in a BASIC program.
Every time you finish typing a line
and press Return, Proofreader displays
a two-letter checksum in the upper left
corner of the screen. Compare this re-
sult with the two-letter checksum print-
ed to the left of the line in the program
listing. If the letters match, the line prob-
ably was typed correctly. If not, check
for your mistake and correct the line.
Proofreader ignores spaces not en-
closed in quotation marks, so you can
omit or add spaces between keywords
and still see a matching checksum.
Spaces inside quotes are almost al-
ways significant, so the program pays
attention to them.
Proofreader does not accept key-
word abbreviations (for example, ? in-
stead of PRINT). If you use abbrevi-
ations, you can still check the line by
listing it, moving the cursor back to the
line, and pressing Return.
If you're using Proofreader on the
128, do not perform any GRAPHIC com-
mands while Proofreader is active.
When you perform a command like
GRAPHIC 1, the computer moves eve-
rything at the start of BASIC program
space—including the Proofreader—to
another memory area, causing Proof-
reader to crash. The same thing hap-
pens if you run any program with a
GRAPHIC command while Proofreader
is in memory.
Though Proofreader doesn't interfere
with other BASIC operations, it’s a
good idea to disable it before running
another program. To disable it, turn the
computer off and then on. A gentler
method is to SYS to the computer's
built-in reset routine (65341 for the 128,
64738 for the 64).
AS @ CLR
KK 10 VE=PEEK(772) +256*PEEK(77
3) :LO=43:HI=44: PRINT"
EB
AA
KK
QF
PD
XB
SB
PH
Js
FA
PS
PS
Xs
Jc
XJ
GM
KH
RM
BR
RM
HJ
XR
26
36
46
58
96
{CLR} {WHT}AUTOMATIC PROO
FREADER FOR ";
IF VE=42364 THEN PRINT "
64"
IF VE=17165 THEN LO=45:H
I=46:GRAPHIC CLR:PRINT"1
28"
SA= (PEEK (LO) +256* PEEK (HI
))+6:FOR J=SA TO SA+166:
READ B:POKE J,B:CH=CH+B:
NEXT
IF CH<>2057@6 THEN PRINT
{SPACE}"*ERROR* CHECK TY
PING IN DATA STATEMENTS"
:END
FOR J=l1 TO 5:READ RF,LF,
HF: RS=SA+RF:HB=INT (RS/25
6) :LB=RS- (256*HB)
CH=CH+RF+LF+HF:POKE SA+L
F,LB:POKE SA+HF,HB:NEXT
IF CH<>22654 THEN PRINT
{SPACE}"*ERROR* RELOAD P
ROGRAM AND CHECK FINAL L
INE":END
IF VE=17165 THEN POKE SA
+14,22:POKE SA+18,23:POK
ESA+29, 224: POKESA+139, 22
4
166 POKE SA+149,PEEK(772):P
119
126
134
146
156
166
176
186
199
266
216
228
2398
OKE SA+156,PEEK(773):PR
INT" {CLR}PROOFREADER AC
TIVE"
SYS SA:POKE HI,PEEK (HI)
+1:POKE (PEEK(LO)+256*P
EEK (HI))-1,8:NEW
DATA120,169,73,141,4,3,
169,3,141,5,3,88,96,165
726,133,167
DATA165,21,133,168,169,
6,141,0,255,162,31,181,
199,157,227
DATA3,202,16,248,169,19
732,210,255,169,18,32,2
16,255,169
DATAG,132,186,132,176,1
36,230,186,2060,185,6,2,
246,46,261
DATA34,268,8,72,165,176
773,255,133,176,164,72,
261,32,268
DATA7,165,176,298,3,164
,268,226,164,166,186,24
7,165,167
DATA121,6,2,133,167,165
7168,105,8,133,168,282,
268,239,248
DATA2@2,165,167,69,168,
72,41,15,168,185,211,3,
32,216,255
DATA1@4,74,74,74,74,168
7185,211,3,32,219,255,1
62,31,189
DATA227,3,149,199,262,1
6,248,169,146,32,216,25
5,76,86,137
DATA65,66,67,68,69,78,7
1,72,74,75,77,86,81,82,
83,88
DATA 13,2,7,167,31,32,1
51,116,117,151,128,129,
167,136,137 0
ONLY
ON
DISK
In addition to the type-in programs
found in each issue of the magazine,
Gazette Disk offers bonus programs
and original 64 and 128 artwork. Here
are this month's bonuses.
The Raven
Daniel Lightner
Sidney, MT
Enter this machine language adventure
game, and you'll find yourself in a three-
dimensional maze that’s filled with valu-
able treasure. The object is to locate
the treasure and return it to a special
storage area. The only obstacles are
the puzzles that you'll have to solve
and a number of deadly creatures block-
ing your path.
You are not alone, though. A friend-
ly Hobbit named Harvey will help you
find your way through the maze.
Trig 128
James Moore
Cleveland, OK
Use this handy 128 program to help
you solve any triangle, not just right tri-
angles. The program calculates sides
to four decimal places and angles to
the nearest second. The program will al-
so help you determine the area of a tri-
angle if you know an angle and the
length of its two sides or if you know
the length of three sides.
This program can be a real help to
trigonometry students—but that’s not
all. Trig 128 can also be used to find
the distance between any two Carte-
sian coordinates.
Christmas Tunes
Don Radler
Cape Coral, FL
Enjoy these traditional Christmas
songs and carols that have been col-
lected by Don Radler. They can be
played on the enclosed music pro-
gram.
Gazette Gallery
Picture of the Month
“Rage”
By Jeff Boyle
Bethlehem, PA
“Twas the Night”
“Santa's Best”
By Robert Woodall
Rural Hall, NC
DECEMBER 1991 COMPUTE G-39
HOW 10 TYPE IN GAZETTE PROGRAMS
Each month, Gazette publishes pro-
grams for the Commodore 128 and 64.
Each program is clearly marked as be-
ing written for the 128, 64, or both. Be
sure to type in the correct version for
your machine. All 64 programs run on
the 128 in 64 mode. Be sure to read the
instructions in the corresponding article.
This can save time and eliminate any
questions which might arise after you be-
gin typing.
At irregular intervals, we publish two
programs designed to make typing in
our programs easier: The Automatic
Proofreader, for BASIC programs, and a
128 and 64 version of MLX, for entering
machine language programs. In order to
make more room for programs, we do
not print these handy utilities in every is-
sue of the magazine. Copies of these pro-
grams are available on every Gazette
Disk. \f you don't have access to a disk,
write us, and we'll send you free copies
of both of these programs. Please en-
close a stamped, self-addressed enve-
lope. Write to Typing Aids, COMPUTE’s
Gazette, 324 West Wendover Avenue,
Suite 200, Greensboro, North Carolina
27408.
When entering a BASIC program, be
especially careful with DATA statements,
as they are extremely sensitive to errors.
A mistyped number in a DATA state-
ment can cause your machine to “lock
up” (you'll have no contro! over the com-
:
When You Read:
{CLR}
{HOME}
{UP}
{DOWN}
{LEFT}
{RIGHT}
g
a ||
10
1
q
|
[is a)
wae
{RVS}
{OFF}
{BLK}
{WHT}
ale ala
Flee
{RED}
{CYN} >
BE
lla
FF
=
&
HE
fe
G-40 COMPUTE DECEMBER 1991
puter). If this happens, the only recourse
is to turn your computer off and then on,
erasing what was in memory. This could
cause you to lose valuable data, so be
sure to save a program before you run
it. lf your computer crashes, you can al-
ways reload the program and look for
the error.
Special Characters
Most of the programs listed in each is-
sue contain special control characters.
To facilitate typing in any programs
from Gazette, use the following listing
conventions.
The most common type of control char-
acters in our listings appear as words
within braces: {DOWN} means to press
the cursor-down key; {5 SPACES}
means to press the space bar five
times. {RVS} means to enter Reverse
mode by simultaneously pressing the
Ctrl key and the 9 key.
To indicate that a key should be shift-
ed (hold down the Shift key while press-
ing another key), the character is under-
lined. For example, A means hold down
the Shift key and press A. You may see
strange characters on your screen, but
that’s to be expected. If you find a num-
ber followed by an underlined key en-
closed in braces (for example, {8 A}),
type the key as many times as indicated
(in our example, enter eight shifted A's).
If a key is enclosed in special brack-
When You Read:
{PUR}
3
a
lla
ERE
{GRN}
{BLU}
{YEL}
q/3
Ble
{ Fl}
{ F2 }
{ F3 }
{Fi }
{ F5 }
{ Fo }
{ F7 }
{ F8 }
al i
PIPE IEEE!
SE ESRUNEIOS §
ets, [<>], hold down the Commodore
key (at the lower left corner of the key-
board) and at the same time press the in-
dicated character.
Rarely, you'll see a single letter of the
alphabet enclosed in braces. This can
be entered on the Commodore 64 by
pressing the Ctrl key while typing the let-
ter in braces. For example, {A} means to
press Ctrl-A.
The Quote Mode
You can move the cursor around the
screen with the Crsr keys, but you may
want to move it under program control,
as in examples like {LEFT} and {HOME}
in the listings. The only way the comput-
er can tell the difference between direct
and programmed cursor control is the
quote mode.
Once you press the quote key, you're
in quote mode. It can be confusing
when you are in this mode if you
mistype a character and cursor left to
change it. You'll see a graphics symbol
for cursor left. Use the delete key to
back up and edit the line from the begin-
ning. Type another quotation mark to get
out of quote mode.
If things get too confusing, exit quote
mode by pressing Return; then cursor
up to the mistyped line and fix it. If the
mistake involves cursor movement, how-
ever, you must press the quote key to
reenter quote mode. a)
When You Read:
a,
H ”
an 8
For Commodore 64 Only
Eig
E24
Kk 39
E49
|
ae
k 73
ks J
ai(g
Ale
3 3
a ||
8/|8i\3)\8
8\18 8\|8
22/2 2/2
SIRISIGIEISIIE
oe
COMMODORE